You cant call forwards by typing its name because its an object, not a
valid path. Struts uses the "path" property of a forward object to
know where to forward to.

Instead, you should create an ActionMapping that uses a ForwardAction
and pass /Login.jsp as parameter.

Then you can call that action mapping by typing it in the browser.

-Yves-


On Fri, 10 Sep 2004 15:08:27 +0530, Antony Paul
<[EMAIL PROTECTED]> wrote:
> Hi all,
>     How I could call a global forward by typing it in browser?
> <global-forwards>
>         <forward name="Login" path="/Login.jsp"/>
> </global-forwards>
> 
> What I should type on the browser window ?
> http://localhost/Login or http://localhost/Login.do - it gives The request
> sent by the client was syntactically incorrect (Invalid path /Login was
> requested).
> 
> rgds
> Anto Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-- 
For me to poop on!
http://www.formetopoopon.com
http://www.nbc.com/nbc/Late_Night_with_Conan_O'Brien/video/triumph.shtml

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

Reply via email to