HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 24 in the jsp file: /cxtj/xsxxquest.jsp
The method getDateCount(String) in the type QuestString is not applicable for the arguments (String, String)
21: qu.setAndor(andor); qu.setSdate(sdate); qu.setEdate(edate);
22: //String strCount=qu.getCount(table);
23: //调用Bean中getDateCount()方法来获得在用户调教的时间段里查询到的记录总数
24: String strCount=qu.getDateCount(table,date);
25: if(pages==null||pages.equals("null")){
26: pages="0";
27: }
An error occurred at line: 30 in the jsp file: /cxtj/xsxxquest.jsp
The method getDateString(String) in the type QuestString is not applicable for the arguments (String, String)
27: }
28: qu.setQuerySql(httpFile,pages,strCount);
29: //用来获得在表tb_sell中在用户提交的时间段里查询到的记录的结果集
30: ResultSet rs=rst.getResult((String)qu.getDateString(table,date));
31: int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
32: while(rs.next()){
33: if(i>(Page-1)*pagesize-1){
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
--------------------------------------------------------------------------------Apache Tomcat/5.5.26
The method getDateCount(String) in the type QuestString is not applicable for the arguments (String, String)
21: qu.setAndor(andor); qu.setSdate(sdate); qu.setEdate(edate);
22: //String strCount=qu.getCount(table);
23: //调用Bean中getDateCount()方法来获得在用户调教的时间段里查询到的记录总数
24: String strCount=qu.getDateCount(table,date);
25: if(pages==null||pages.equals("null")){
26: pages="0";
27: }
An error occurred at line: 30 in the jsp file: /cxtj/xsxxquest.jsp
The method getDateString(String) in the type QuestString is not applicable for the arguments (String, String)
27: }
28: qu.setQuerySql(httpFile,pages,strCount);
29: //用来获得在表tb_sell中在用户提交的时间段里查询到的记录的结果集
30: ResultSet rs=rst.getResult((String)qu.getDateString(table,date));
31: int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
32: while(rs.next()){
33: if(i>(Page-1)*pagesize-1){
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
--------------------------------------------------------------------------------Apache Tomcat/5.5.26
解决方案 »
- 如何设置一个页面(网页)自动适应不同分辨率的显示器?
- ssh2 action调用空指针 注入有问题?没配对? 还是写法有误?
- lucene告诉进来帮我看看
- 数据库缓存技术
- 如何作一个全局BEAN,存放用户的信息,在整个应用程序运行时使用?不用SESSION等
- jsp里怎样分页阿.?
- 急求JSP修改密码的代码!
- 各位帮我解决我迷惑的问题
- 为什么我把List results = query.list(); 放到一个循环里执行几次后 就像卡住了 不执行了 怎么回事
- 【请教】org.springframework.web.servlet.PageNotFound - No mapping found for HTTP req
- 正则怎么实现最小匹配
- jsp中表单问题,是一个投票功能模块
getDateCount(String)函数定义的时候参数是一个,调用的时候传了2个参数。