org.apache.jasper.JasperException: Unable to compile class for JSPGenerated servlet error:
The method _jspx_meth_s_text_0(JspTag, PageContext) in the type index_jsp is not applicable for the arguments (FormTag, PageContext)Generated servlet error:
The method _jspx_meth_s_text_1(JspTag, PageContext) in the type index_jsp is not applicable for the arguments (FormTag, PageContext)
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
找了好长时间,没找到原因
The method _jspx_meth_s_text_0(JspTag, PageContext) in the type index_jsp is not applicable for the arguments (FormTag, PageContext)Generated servlet error:
The method _jspx_meth_s_text_1(JspTag, PageContext) in the type index_jsp is not applicable for the arguments (FormTag, PageContext)
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
找了好长时间,没找到原因
解决方案 »
- Hibernate SQLQuery.List查询问题,急.....
- struts2中动态加载配置文件
- ibatis调用存储过程问题???
- javascript问题,急用…!…!…!…!…!
- STRUTS的 重定向
- ########java FTP问题
- 结交eclipse 朋友(高手请留步)
- 为什么在JB中用Easy struts创建ActionForm/Action等,不让我选择他们的基类??/
- 如何在jb9中配置sttuts1.1&&在那里下载struts1.1
- 麻烦大家办个忙,关于ejb中的事务处理,谢谢了
- 严重: Exception starting filter struts2(帮忙看下)
- 关于ajax验证用户名是否存在的问题,希望大家给点意见,谢谢~~
JAVA_HOME C:\Program Files\Java\jdk1.6.0_10
CLASSPATH .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
PATH %JAVA_HOME%\bin;2,jsp<%@ taglib prefix="s" uri = "/struts-tags" %> 引入<s:form action="/testAction_getList.action" method="post">
1:<s:text name="names" id="names" />
2:<s:text name="ages" id="ages" />
</s:form>
private boolean _jspx_meth_s_submit_0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:submit
org.apache.struts2.views.jsp.ui.SubmitTag _jspx_th_s_submit_0 = (org.apache.struts2.views.jsp.ui.SubmitTag) _jspx_tagPool_s_submit_value_nobody.get(org.apache.struts2.views.jsp.ui.SubmitTag.class);
_jspx_th_s_submit_0.setPageContext(_jspx_page_context);
_jspx_th_s_submit_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_form_0);
_jspx_th_s_submit_0.setValue("submit");
int _jspx_eval_s_submit_0 = _jspx_th_s_submit_0.doStartTag();
if (_jspx_th_s_submit_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_s_submit_value_nobody.reuse(_jspx_th_s_submit_0);
return false;
}