You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marcel Overdijk <m....@oravision.nl> on 2003/05/27 16:38:30 UTC

not working

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

Anybody any suggestion ?


Marcel Overdijk


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: not working

Posted by James Mitchell <jm...@apache.org>.
Did you restart the app (touch web.xml) after you uploaded it?


--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org



----- Original Message ----- 
From: "Marcel Overdijk" <m....@oravision.nl>
To: <st...@jakarta.apache.org>
Sent: Tuesday, May 27, 2003 10:38 AM
Subject: <action-mappings> not working


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

Anybody any suggestion ?


Marcel Overdijk


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org