When struts2 uses radio, the following error occurs: no result defined for Action com. Elephant. Action. userinfoaction and result input.

Source: Internet
Author: User

Tag: Radio struts2 action

There was a strange problem in the past two days. When struts2 was used for jump, some pages could jump, and some could not jump.
Problem: Unable to jump when an action is redirected

Cause: the single-dataset radio tag is used on the redirected page, and the value attribute is not added to radio. When you click the submit button, the data is submitted to the background. If the verification framework is configured or the validate method is written in the action, the verification fails. If no action is taken, the input is directly returned, the current interface is returned. In this case, the value in radio is lost (null), leading to the above error.

Solution: add the value to radio and then click OK.

When struts2 uses radio, the following error occurs: no result defined for Action com. Elephant. Action. userinfoaction and result input.

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.