<%@page contentType="text/html;charset=GB2312"%>
<% taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<% taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%><html>
    <head><title>CH6 Param.jsp</title></head>
<body>
    <h2 >隐含对象param,paramValues</h2>
<fmt:requestEncoding value="GB2312"/> 姓名: ${param.username}<br>
密码: ${param.password}<br>
性别: ${param.sex}<br>
年龄: ${param.old}<br>
兴趣: ${paramValues.bahit[0]}
   ${paramvalues.habit[1]}
</body>
</html>An error occurred at line: 2 in the jsp file: /jsp2_0/Param.jsp
Generated servlet error:
E:\Program Files\Tomcat 5.0\work\Catalina\localhost\new\org\apache\jsp\jsp2_005f0\Param_jsp.java:44: 需要 ';'
 taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
                   ^
An error occurred at line: 3 in the jsp file: /jsp2_0/Param.jsp
Generated servlet error:
E:\Program Files\Tomcat 5.0\work\Catalina\localhost\new\org\apache\jsp\jsp2_005f0\Param_jsp.java:47: 需要 ';'
 taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"