Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

/WEB-INF/test.zip  RSS feed

 
grace smith
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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?

thanks
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!