
显示的具体错误如上
代码:
register.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>用户注册</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body bgcolor="pink">
<form action="easyregist/registerCheck.jsp" method="post">
<ul style="list-style:none">
<li>姓 名:<input type="text" name="name"></li>
<li>年 龄:<input type="text" name="age"></li>
<li>性 别:<input type="text" name="sex"></li>
<li>地 址:<input type="text" name="address"></li>
<li><input type="submit" value="注 册"></li>
</ul>
</form>
</body>
</html>
registerCheck.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>用户注册-处理注册信息页面</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body bgcolor="pink">
<%
request.setCharacterEncoding("UTF-8");
%>
<jsp:useBean id="use" class="userRegister.UserRegisterBean" scope="page">
<jsp:setProperty name="use" property="*"/>
</jsp:useBean>
<ul style="list-style:none">
<li>姓名:<jsp:getproperty id="use" property="name" ></li>
<li>年龄:<jsp:getproperty id="use" property="age"></li>
<li>性别:<jsp:getproperty id="use" property="sex" ></li>
<li>地址:<jsp:getproperty id="use" property="address" ></li>
</ul>
</body>
</html>
UserRegisterBean.java:
package userRegister;
public class UserRegisterBean {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
private int age;
private String sex;
private String address;
}
整个项目如下:

求教
------解决思路----------------------
registerCheck.jsp
这里好像有问题
<jsp:useBean id="use" class="userRegister.UserRegisterBean" scope="page">
<jsp:setProperty name="use" property="propName" value="value"/>
</jsp:useBean>