以下是jsp页面的报错信息:
```
三月 25, 2021 11:11:01 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [jsp] in context
with path [/ssmyqfkxxglxthsg7710X1B8]
threw exception [Unable to compile class for JSP:
An error occurred at line: 88 in the jsp file: /userreg.jsp
The method getdate(String) in the type db is not applicable for the arguments ()
```
我的JSP页面代码:
```
<tr >
<td width="200">出生年月:</td>
<td><input name='chushengnianyue'
type='text' id='chushengnianyue' value='<%=connDbBean.getdate()%>'
onblur='' readonly='readonly'
onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})"
style='width:100px; height:16px; border:solid 1px #000000; color:#666666'/></td>
</tr>
```
这是我的处理器里面的代码
```
public void getdate() {
HashMap map=new HashMap();
//获取当前用户的注册时间
Date date = null;
long s1=date.getTime();
map.put("date", date);
}
```
求教,应该怎么写来着了,忘了。