Struts1.2 Action and Actionform cause the page not to come out

Source: Internet
Author: User

1. After the written xxxform extends Actionform, the Reset () method in the parameters can not be less, less also face out, the other page used to form the object attribute, in the reset to instantiate, otherwise the page will not come out. This can look at Tomcat's log.

2. Problem: No error in the background, the log also has no errors, struts-config.xml configuration is no problem, click the button is not jump to the page to jump, set breakpoints in the action, found no action. You can see that the extends action is inconsistent with the servlet in Web.xml and should inherit dispatchaction.



<

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: info-contact@alibabacloud.com 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.