日期:2014-05-18  浏览次数:20724 次

jsp小问题
代码
<%@   taglib   uri= "/WEB-INF/struts-bean.tld "   prefix= "bean "   %>
<%@   taglib   uri= "/WEB-INF/struts-html.tld "   prefix= "html "   %>

<html>
<head>
    <title> <bean:message   key= "app.title "/> </title>
</head>
<body>
<html:errors/>
<html:form   action= "login.do "   method= "post ">
</html:form>
</body>
</html>
报错:
org.apache.jasper.JasperException:   An   exception   occurred   processing   JSP   page   /login.jsp   at   line   10

7:   </head>
8:   <body>
9:   <html:errors/>
10:   <html:form   action= "login.do "   method= "post ">
11:   </html:form>
12:   </body>
13:   </html>

怎么回事?如果去掉 <html:form> 就没有错误了

------解决方案--------------------
配置好
<html:form action= "login.do " method= "post ">
</html:form>
这个了?
------解决方案--------------------
struts-config都配置好了就不会错了,
------解决方案--------------------
建议楼主看一看框架
------解决方案--------------------
/login.do
------解决方案--------------------
没有配置
我的异常网推荐解决方案:An exception occurred processing JSP page,http://www.aiyiweb.com/j2se/33144.html