我觉得不多,那是被包含在一对 <% %>里的,我在javabean中增加了一些方法,但已经重新编译并重启了tomcat,还是有错误。
报错:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 56 in the jsp file: /config.jsp
The method getLocalport() is undefined for the type SipClientBean
53: </tr>
54: <tr>
55: <td>Local Port: </td>
56: <td> <input type="text" name="localPort" value=' <%= (client.getLocalport() != null) ? client.getLocalport():"5060"%>'> </td>
57: </tr>
我觉得不多,那是被包含在一对<% %>里的,我在javabean中增加了一些方法,但已经重新编译并重启了tomcat,还是有错误。
报错:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 56 in the jsp file: /config.jsp
The method getLocalport() is undefined for the type SipClientBean
53: </tr>
54: <tr>
55: <td>Local Port:</td>
56: <td><input type="text" name="localPort" value='<%= (client.getLocalport() != null) ? client.getLocalport():"5060"%>'></td>
57: </tr>