Hi,

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 - 

<a
href="http://xx.xx.xx.xx:8180/jackrabbit-webapp-2.6.0/repository/default/USE
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 (  "
http://xx.xx.xx.xx:8180/jackrabbit-webapp-2.6.0/repository/default/USER_DOCU
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. 
 
Regards
Sanjiv


Reply via email to