The requested resource (servlet action is not available) is not available. This problem left me overnight

Source: Internet
Author: User

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

  1. <Context-param>
  2. <Param-Name> contextconfiglocation </param-Name>
  3. <Param-value>
  4. /WEB-INF/classes/applicationcontext. xml
  5. </Param-value>
  6. </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.
,

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.