No result defined for action and result input error

Source: Internet
Author: User

This error is not defined for the returned input, but sometimes we do not need this ghost thing. However, if an error occurs in the action, the input is returned by default, if we define it in struts <result>, the error "no result defined for action and result input" is displayed.
There are many causes for this error, and path errors are also one of them. The types on the page and the types of the properties defined by action are inconsistent, leading to errors in background type conversion, does not enter action at all. (I used the parameter passed by jqgrid. The background is of the int type)

 

Solution: The best thing is that the corresponding attributes of action and post are set to the string type, which saves trouble and will no longer cause this error, and then execute the conversion in execute. This facilitates errors.

 

Reference: http://wcf1987.iteye.com/blog/991021

No result defined for action and result input error

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.