Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet action is currently unavailable

 
sai prasanna
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
when iam requesting a jsp page it is displaying fine but when i click on submit button it is throwing following exception

HTTP Status 404 - Servlet action is not available
type Status report
Message Servlet action is not available
description The requested resource (Servlet action is not available) is not available.

in the web.xml file i had specified ActionServlet as follows
and when i am running web.xml in browser it is showing all the attributesso there in no problem in web.xml

<web-app>
<display-name>Struts Examples Application</display-name>
<!-- Standard Action Servlet Configuration (with debugging) -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>

thanks in advance
saiprasanna
 
sai prasanna
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in log file it is displaying as follows

2006-05-25 13:12:00 StandardWrapperValve[action]: Servlet action is currently unavailable
2006-05-25 13:12:13 StandardWrapperValve[action]: Servlet action is currently unavailable
2006-05-25 13:12:49 StandardWrapperValve[action]: Servlet action is currently unavailable
 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please post the code which you have written for ACTION in jsp and corresponding ACTION from struts-config.xml.

Then we can easily find out the mistake

Regards
Gaurav
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!