I'm using Tomcat 4.1.2.  I looked through the server.xml file and couldn't
find anything that would do this.

I'm not familiar enough with struts to know what processes the ActionForward
that is returned from an Action.  Thanks for you input.

Thanks,
Eric

-----Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 7:57 PM
To: Struts Users Mailing List
Subject: RE: Can only redirect when forward path only has directories


You might want to check your web server configuration to see if the
directory index knows to show the index.jsp as the index page or to do
something else, such as redirect to an error page or a particular page.
What is your web server?

Regards,
David

-----Original Message-----
From: Bessette [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 10:30 PM
To: [EMAIL PROTECTED]
Subject: Can only redirect when forward path only has directories


After days of trying to figure out why my actions wouldn't forward, only
redirect, I finally narrowed down the problem.

If I use a forward path of "/dir1/dir2" the action will always redirect, no
matter what the redirect value of the forward is.  However, if I use
"/dir1/dir2/index.jsp" then the action will redirect or forward correctly
depending on the value.

This seems like a bug to me.  Is there any reason why this should happen?
It doesn't really matter to me, since the action uri is displayed in the
address bar, but it seems very odd.

Thanks,
Eric


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



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

Reply via email to