jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjiv Nagraj" <s.nag...@zensar.in>
Subject Problem in downloading a file from a 2.6.0 repository from a link within a JSP
Date Tue, 27 Aug 2013 09:55:28 GMT

We have a Spring MVC 3 based web application, running on Tomcat,  that
fetches content  from a 2.6.0 Apache Jackrabbit repository deployed as a web
app on  a separate Apache Tomcat instance. 

 Code fragment from one of the JSPs - 

R_DOCUMENT_AREA/file.pdf"  target="_blank">file.pdf</a>.

When user clicks on the link  "file.pdf",   it gives Error Report  HTTP
Status 403 .
Description  - Access to the specified resource has been forbidden.
[ Browser - Firefox ] 

On copying the same link (  "
MENT_AREA/file.pdf" )  in the address bar on a separate tab and hitting
[Enter],  the file gets downloaded.

We are unable to figure out how to download the file, on the same screen,
by clicking on the link itself. 

View raw message