SSH common error One (result ' null ' not found) summary

Source: Internet
Author: User
Tags ssh

Problem Description:

As shown in the figure:


when I edit the student number 11 on page 2nd, revise the student's information and save it. The process is as follows:


Click Change to jump back to page 2nd.


These are the effects I need to achieve:

Some errors occurred during the implementation, 404-result ' null ' not found,

According to the information found on the Internet, there are errors in the Struts.xml configuration file.

	<action name= "Student" class= "com.xxx.action.StudentAction" >
		<!--display Student information--
		<result name= " Show >/show.jsp</result>
		<!--ready to modify student information-
		<result name= "edit" >/update.jsp</ Result>
		<!--modify Student information-
		<result name= "Update" type= "Redirectaction" >
			<param name= " ActionName ">student!show.action</param>  
        		<param name=" CurrentPage ">${currentpage}</param >
		</result>
		<result name= "error" >/error.jsp</result>
</action>
The above is to modify the correct file.

Type= "Redirectaction is the key information of the configuration, if it does not change to appear 404-result ' null ' not found error

Here is the result of removing type= "redirectaction.


For specific content, please download

http://download.csdn.net/detail/xxx823952375/7065709



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.