When I used STRUTS + spring + hibernate to register the page last night, it went very smoothly all the way up and down, but the registration page was displayed at runtime. Click "register, the following page is displayed:
TypeStatus Report
Message Servlet action is not available
Description The requested resource (servlet action is not available) is not available.
I checked a lot of answers online, explained a lot online, and found many errors. Finally, I saw a friend's sentence:
">Requested Resource(Servlet ActionIsNot Available) IsNot Available
These areStrutsOrSpringThere is a problem with the basic configuration. Struts is configured on the web. check in XML. The spring configuration is also web. XML, confirm no problem ", let me narrow the search scope, so I honestly put the web. XML, applicationcontext. XML, struts-config.xml these files have been checked again, not as expected, in the web. in XML
- <Context-param>
- <Param-Name> contextconfiglocation </param-Name>
- <Param-value>
- /WEB-INF/classes/applicationcontext. xml
- </Param-value>
- </Context-param>
|
In contextconfiglocation, the L is written as l, which makes me suffer for one night and even intends to re-configure the environment that is hard to configure. Thank you, dear friend, therefore, I would like to give my colleagues a piece of advice in the future:
If the requested resource ( servlet action is not available ) is not the first choice for available is to check the web. XML, applicationcontext. XML, struts-config.xml files.
,