It sounds as if Apache is not forwarding the *.do request at all.  You may
have to modify your httpd.conf file to add the following:

JkMount /*.do ajp13

depending on the version of Tomcat you're using.  I haven't try this myself,
so it's probably worth a try.

good luck.

-----Original Message-----
From: Marion Schwarz [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 11:33 AM
To: [EMAIL PROTECTED]
Subject: Antw: Re: Error 500 : No action instance could be created


>>if your action class is not being reached, it makes me think that the
action
>>servlet is not configured properly.  do you have the action servlet mapped
>>to the *.do extension inside web.xml?  it should look like this:

<servlet-mapping>
   <servlet-name>action</servlet-name>
   <url-pattern>*.do</url-pattern>
</servlet-mapping>

Yes, my web.xml looks like this.


>>Maybe you
>>have the wrong package name and/or class name in struts-config.xml ? You
>>should check this.

 <action    path="/thisandthat"
               type="com.servlets.thisandthat_action">
                 <forward name="back"    path="/home.jsp"/>
                 <forward name="display"   path="/thisandthat.jsp"/>
 </action>

>>is "thisandthat_action" really your action class?

Yes, "thisandthat_action" is really my action class, extending Action. Or
should it be ActionServlet ??
I merely copied a struts example and changed some names.

>>including more of the relevant code makes solving these problems easier
and
>>quicker...

There is no more code to it, is there ?






Reply via email to