Steve,

Could this also be the same for my problem:
I have developed a webapp on Tomcat 4.0.3 and works fine.
After deploying it at my provider (also Tomcat 4.0.3) my
<action-mappings> aren't working....

<action path     ="/trends" 
        type     ="org.apache.struts.actions.ForwardAction"
        parameter="page.trends"/> 

Or
<action path     ="/test" 
        type     ="org.apache.struts.actions.ForwardAction"
        parameter="/test.jsp"/> 

www.myhost.org/trends.do
Or
www.myhost.org/test.do
Wont'work.... A Page Not Found error.

But at my pc I use http://localhost:8080/myapp/test.do and the action
mappings works fine....




Met vriendelijke groet,


Marcel Overdijk



-----Original Message-----
From: Steve Raeburn [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 27 mei 2003 18:26
To: Struts Users Mailing List
Subject: RE: URL missing .do


> -----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