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