I got it to work by using the following as action 
                <action path="/logon" forward="/WEB-INF/jsp/index.jsp"/>
And adding http://localhost:8080/loa/logon.do
However the global forward did not work. Am I doing something incorrect
I am doing with that or is it supposed to work only with actions?

-----Original Message-----
From: MARU, SOHIL (SBCSI) 
Sent: Wednesday, April 07, 2004 3:06 PM
To: 'Struts Users Mailing List'
Subject: Global forwards not working


Hello All,
   I have the following forwards definition in my struts-config.xml

        <global-forwards>
                <forward name="logon" path="/jsp/index.jsp"/>
        </global-forwards>


The directory jsp is under my TOMCAT_ROOT directory and it does have the
index.jsp. I have made an entry in TOMCAT's server.xml as follows

<Context path="/loa"
docBase="C:\software\eclipse\workspace\HRTechnology\TOMCAT_ROOT"
reloadable="true"/>

And the directory jsp is under TOMCAT_ROOT. However when I try to access
this jsp using the following url

http://localhost:8080/loa/logon


It tells me

HTTP Status 404 - /loa/logon

------------------------------------------------------------------------
--------

type Status report

message /loa/logon

description The requested resource (/loa/logon) is not available.


------------------------------------------------------------------------
--------

Apache Tomcat/5.0.18

Any ideas, it has to be something pretty basic but cant seem to figure
it out.
Thanks,
Sohil


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

Reply via email to