Hello Joe,
the value of the redirect flag is true since I cannot forward when
it is set to false. I thought this was the regular way to forward
from one jsp-page to another.
Isn't there any other option how I can do the forward and
keep the file-name of the jsp-page out of the URL ?
Best Regards,
Peter
Joe Germuska schrieb:
At 4:03 PM +0100 11/9/04, Peter Neu wrote:
Hello,
How can I manipulate the URL-Mapping in the
web.xml /struts-config.xml in order to hide
the filenames when I use the ActionForward in an ActionServlet?
Currently the URL displays all the files which I forward to.
Before I posted this message I looked through the mail archieve
but I only found some suggestions using JScript which I would like
to keep out of my application as much as possible.
Are you returning an ActionForward which has a 'true' value for its
redirect property? In this case, the answer is "no."
Otherwise, you could have a Struts action read the file from the
filesystem and write the bytes to the response. This would hide the
true file name.
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]