<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>加上了 Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core" 这样应该是没有 jstl.jar怎么用啊 我有 刚下的 不知道怎么用
放到 WEB-INF下面的lib目录下面吧
但是 你好后面没user出来 什么情况
在你的jsp头上加上允许使用 EL <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
用户名 :<input type="text" size="10" name="user">
<br>密码 :<input type="text" size="12" name="password"><br>
<input type="submit" value="登陆" name="login">
<input type="button" value="注册" name="register"><br>
你好: <%String strButtonName1=${pageScope.user};%><%=strButtonName1%>
</form>
</body>
比如说
你好:${pageScope.user};把<%%>去掉
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
还有 你有JSTL.JAR吗?
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
这样应该是没有
jstl.jar怎么用啊 我有 刚下的 不知道怎么用
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>