atitit.404 Error Troubleshooting Process summary VOa6
1. Scene 1
1.1. Sub-application A wax wipe cannot be used 404 . 1
2. Server Configuration Issues 2
2.1. Log in to the Server Management sub-app to see if the app starts okk???? 2
2.2. Theport is already occupied , the actual interview in the ServerPort 2
2.3. #----------JSP head errorpage= "" 2
2.4. Application conflict :: at the same time, the root application and Sub -Application is deployed. 2
2.5. #------Resin Server configuration issues.
The two apps are configured to the same directory: 2
2.6. #-----------1. App does not start sucess ... View Log or Web Server Management Console 3
2.7. #------- Use the domain Configuration method , but use IP access 3
3. #----- May filter Wirte err ... 3
4. Struts Issue 4
4.1. Validation did not pass 4
4.2. There is another reason ::: Formbean and UI field conversion error ... . 4
4.3. #----- If you use struts...struts to interrupt the process ... View Struts Configuration .. 4
5. Spring MVC Issue 4
5.1. #----2. Spring MVC @Controller issue 5
5.2. #-----3. Spring MVC import modelandview error 5
6. Urlrewrite Question 5
6.1. #------404 Urlrewrite Pseudo-static call failed 5
7. References 6
1. Scenario 1.1. Sub-application of a wax wipe can not be used404LAN..
The middle will troubleshoot the configuration problem: The biggest problem is root application conflict .... cause the new deployment of the root app , flashing sub-applications cannot be used ...
2. Server configuration Issue 2.1. Log in to the server Management sub-app,See if the app startsOkk?
?
?
? 2.2. Theport is already occupied , the actual interview in the ServerPort
Netstate See if the port is using its own server Software ...
Author:: Old Wow's paw attilax Ayron, email:[email protected]
Reprint please indicate source: Http://blog.csdn.net/attilax
2.3. #----------JSP head errorpage= ""
Del Zeu ok le.
2.4. Application conflicts::Root app deployed at the same time andSub-application..
Visit the application of the child SE, visit the root application Kahlan , flash new not on .
2.5. #------Resinserver configuration issues. The two apps are configured to the same directory..
Paip.404err one app cfg one same dir
/Cant access
/APP1 only can access.
Envi. Resin4.
2.6. #-----------1. App does not startsucess ...ViewLogorWebServer Management Console
....
C:\resin-4.0.36\resin.exe--server Homisearchserverserverid Console
C:\resin-4.0.36\resin.exe--server Homisearchserverserverid Console
View Log ....
A full MVC URL route can be seen on the Logz. Use NPP filter to find: One ha to chop out the blue.
2.7. #-------using the Domain name configuration method,but usingIPInterview
Resin4.0.22 would have this problem.
3. #-----may befilter Wirte Err ...
spr.jsp
Yaosi dis chain.dofilter, and no forward...then empty...output ...
if (Requesturi.endswith ("spr.jsp")) {
Resume to access Chain.dofilter (request, response);
Core.log ("--endsWith spr.jsp Stop the Chainfileter");
RequestDispatcher RequestDispatcher = Request.getrequestdispatcher ("spr.jsp");
Requestdispatcher.forward (request, response);//How do you explain these two sentences?
((httpservletresponse) response). Flushbuffer ()
Return
}
4. Strutsproblem
Atitit. Resolve 404 No result defined for action and result input
4.1. Validationdid not pass
The reason is very likely to visit loginindex.action when validation did not pass, look at your configured validate XML file. Ma This file ... That's not the problem.
4.2. There is another reason::: Formbean and UIField Conversion Error....
For example, Formbean int, but the UI is string ...
Walk Ten This question ...
4.3. #-----If you use thestruts...strutsinterrupted the process...ViewStrutsConfiguration..
5. Spring MVCproblem
5.1. #----2. Spring MVC @Controllerproblem
Todo O40 must ctrl ... if compent cant be find. IOC Contl==comp but MVC is not equi.
@Controller
public class Visitorblockservice {
5.2. #-----3. Spring MVCImportModelandviewError
Import Org.springframework.web.portlet.ModelAndView;
should not introduce this modelandview should be introduced:
Import Org.springframework.web.servlet.ModelAndView;
Author: Lao Wow's Paw Attilax Ayron, email:[email protected]
Source:Http://blog.csdn.net/attilax
6. Urlrewrite Issues
6.1. #------404 Urlrewritepseudo-static call failed
Using the Urlrewrite pseudo-static However, the rule is not found accordingly:
View logs to resolve:
7. References
. spring MVC 404 Error Resolution
Spring MVC Modelandview 404 exception-VC mfc.htm
atitit.404 Error Troubleshooting Process summary VOa6