> -----Original Message-----
> From: Marcel Overdijk [mailto:[EMAIL PROTECTED]
> Sent: May 27, 2003 12:12 AM
>
> I have developed a webapp on Tomcat 4.0.3 and works fine.
> After deploying it at my provider (Tomcat also 4.0.3) my
> <action-mappings> aren't working....

If your web host is using Apache, it needs to be configured to send certain
requests to Tomcat.
During your local testing you probably access Tomcat directly
(http://localhost:8080 ?), so you don't need this mapping.

It is likely that your services provider has only set-up mappings for
/servlet/* and *.jsp

Ask your provider to add the following to your configuration.
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /*.do ajp13

This tells Apache to send all requests for /*.do to Tomcat (using the AJP13
connector). You still need your *.do mapping in WEB.XML that tells Tomcat to
send *.do requests to the ActionServlet.

The first two lines are probably already configured. Note that the exact
configuration required will depend on the connector they have installed but
if you ask them to add a the directives and tell them why, they should be
able to figure out what's needed for their particular set-up.

Good luck

Steve




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to