Org. Apache. Jasper. jasperexception: An exception occurred processing JSP page/user/login. jsp at line

Source: Internet
Author: User
[HTML]View plaincopyprint?

  1. 9:
  2. 10:
  3. 11: <body>
  4. 12: <s: Form Action = "login" method = "Post">
  5. 13: <s: textfield label = "username" name = "name"/>
  6. 14: <s: Password label = "password" name = "Age"/>
  7. 15: <s: Submit value = "Submit"/>
  8. Stacktrace:
  9. Org. Apache. Jasper. servlet. jspservletwrapper. handlejspexception (jspservletwrapper. Java: 510)
  10. Org. Apache. Jasper. servlet. jspservletwrapper. Service (jspservletwrapper. Java: 419)
  11. Org. Apache. Jasper. servlet. jspservlet. servicejspfile (jspservlet. Java: 313)
  12. Org. Apache. Jasper. servlet. jspservlet. Service (jspservlet. Java: 260)
  13. Javax. servlet. http. httpservlet. Service (httpservlet. Java: 717)
  14. Root Cause

The reason is that in the web. xml file

[HTML]View plaincopyprint?

  1. <Filter-mapping>
  2. <Filter-Name> struts2 </filter-Name>
  3. <URL-pattern>/* </url-pattern>
  4. </Filter-mapping>

The URL-pattern of <URL-pattern>/* </url-pattern> is changed to *. Action, which filters out all files except *. Action.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.