Servlet action is not available
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Stephan_Schobloch
Posted On:   Sunday, August 20, 2006 07:53 AM

Hello forum, I have a problem concerning Jakarta Struts 1.29 - when I invoke a path in my webapp ending with ".do" I get a error message that reads like this: message Servlet action is not available description The requested resource (Servlet action is not available) is not available. I'm using the following tools: - Tomcat 5.5.17 Win32 - Struts 1.29 - Eclipse 3.2 w/ WTP 1.5 The error occurs both when I start the server from eclipse and when I export the application to war file and then deploy it to tomcat running as the standard service. I already checked the Tomcat log files which contain no error messages (neithe   More>>

Hello forum,

I have a problem concerning Jakarta Struts 1.29 - when I invoke a path in my webapp ending with ".do" I get a error message that reads like this:



			message
			Servlet action is not available
			

description The requested resource (Servlet action is not available) is not available.


I'm using the following tools:


  • - Tomcat 5.5.17 Win32

  • - Struts 1.29

  • - Eclipse 3.2 w/ WTP 1.5



The error occurs both when I start the server from eclipse and when I export the application to war file and then deploy it to tomcat running as the standard service.



I already checked the Tomcat log files which contain no error messages (neither does the console output).




			

    action
    org.apache.struts.action.ActionServlet

    config
    /WEB-INF/struts-config.xml


    debug
    2


    detail
    2

1




And the following servlet mapping:


			

    action
    *.do




			
<?xml version="1.0" encoding="iso-8859-1"?>

   "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
   "http://struts.apache.org/dtds/struts-config_1_2.dtd">



   
      
         type="com.byteholder.pnp.action.TestAction">
         
      
   



struts.jar is also included in the /WEB-INF/lib folder of the application.



Actually I'm quite desparate as I can't see any mistake in my application setup. This is not my first struts application and thus I'm very annoyed to get stuck at such an early stage.



I hope anyone can help,



thanks in advance, Stephan Schobloch

   <<Less

Re: Servlet action is not available

Posted By:   Anonymous  
Posted On:   Saturday, August 26, 2006 08:58 AM

Hi Stephan,
I m sachin nikam.
Just look at u r action class whether u r forwarding the
findforward reference name 'success' or not.

Other try this also.

set the classpath by doing right click on
project folder name. then ==> build path ...
then add necessary library files to it and apply.

after that try it again might be u will get solution
About | Sitemap | Contact