On Wed, 28 May 2003, Marcel Overdijk wrote:

> Date: Wed, 28 May 2003 09:06:56 +0200
> From: Marcel Overdijk <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: URL missing .do
>
> 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....
>

Many ISPs who run Tomcat configure it to run behind Apache.  This works
fine for Struts-based applicaitons, as long as you remember to configure
Apache to forward all "*.do" requests for your webapp to Tomcat --
otherwise, Apache tries to serve them as static files and (of course) will
not find corresponding files.

You might ask your ISP's admin staff to make sure that the "*.do"
forwarding pattern has been set up.

>
>
>
> Met vriendelijke groet,
>
>
> Marcel Overdijk
>

Craig

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

Reply via email to