I would like a forward to redirect off of the root context. Normally, if my
struts app is in a WAR , let's say MyStrutsApp this forward:
forward name = success path = /mydir/allben_home.jsp
redirect = true/
would result in a redirect to
-
From: Will Spies [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, September 12, 2002 10:49 AM
Subject: Redirecting to a relative URL from root
I would like a forward to redirect off of the root context. Normally, if
my
struts app is in a WAR , let's say
On 9/12/2002 at 11:01 AM Michael Lee wrote:
by default the '/' root is from your webapp, as it should be. All URLs
should be from '/' that are going to the same webapp. If your going to
another webapp just do an http:// (Is this last sentence right?)
Don't use ../.. whatever you do! (not
On 9/12/2002 at 12:08 PM Michael Lee wrote:
Cool! Did not know that! I take it when you say that solution doesn't work
you just mean the one scentence..
I meant the suggested solution, namely that you use absolute URLs in your
struts-config.xml file when redirecting a user to another webapp on
PROTECTED]
Donald Ballcc: (bcc: Will Spies/Towers
Perrin)
[EMAIL PROTECTED]Subject: Re: Redirecting to a relative
URL from
: Redirecting to a relative URL from root
So, are you saying there is no solution?
What about './mydir/mypage.html'?
I am just about to test this but my proxy server is down.
P.S. That's dot (.) slash (/)
___
Will Spies
Towers Perrin
Phone: (215)246-7145
e-mail: [EMAIL
6 matches
Mail list logo