wood burning stoves
The moose likes Websphere and the fly likes /WEB-INF/test.zip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "/WEB-INF/test.zip" Watch "/WEB-INF/test.zip" New topic


grace smith

Joined: Jun 14, 2005
Posts: 23

in my jsp page I have a link which should linke to one secure zip file, we'd like to put under the /WEB-INF/ since the webuser can't directly access them by typing the file URL.

but the authorized user should still be able to access it, so I tried to make the access link to call a Struts action, which forward back the zip file. somehow, it does not work. I am wondering does Websphere container suport server side redirect files which are put under /WEB-INF?

here is the struts action mapping I used (which is not working, the web page display HTTP 403 forbidden error) :
<action <br /> path="/download"<br /> type="org.apache.struts.actions.ForwardAction"<br /> parameter="/WEB-INF/downlaod/my.zip" />

Can someone shed me some light on this?

I agree. Here's the link: http://aspose.com/file-tools
subject: /WEB-INF/test.zip
It's not a secret anymore!