Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FA4510957 for ; Tue, 27 Aug 2013 09:55:58 +0000 (UTC) Received: (qmail 5131 invoked by uid 500); 27 Aug 2013 09:55:57 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 4313 invoked by uid 500); 27 Aug 2013 09:55:49 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 4305 invoked by uid 99); 27 Aug 2013 09:55:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 09:55:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown ~allip4:115.112.240.76 (athena.apache.org: encountered unrecognized mechanism during SPF processing of domain of s.nagraj@zensar.in) Received: from [115.112.216.36] (HELO bkcoutbound.logix.in) (115.112.216.36) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 09:55:40 +0000 Received: (qmail 21374 invoked by uid 508); 27 Aug 2013 09:55:05 -0000 Received: from 192.168.4.33 by vdvmphy12.logix.in (envelope-from , uid 500) with qmail-scanner-1.25 ( Clear:RC:1(192.168.4.33):SA:0(IronPort):. Processed in 0.061155 secs); 27 Aug 2013 09:55:05 -0000 Received: from unknown (HELO outgoing.logix.in) ([192.168.4.33]) (envelope-sender ) by 192.168.4.87 (qmail-ldap-1.03) with SMTP for ; 27 Aug 2013 09:55:05 -0000 X-ORIGINAL-IP: 115.242.15.92 X-ORIGINAL-HOSTNAME: No hostname X-ORIGINAL-TIME: 27 Aug 2013 15:25:05 +0530 X-ORIGINAL-FROM: s.nagraj@zensar.in X-ORIGINAL-RECIPIENTS: X-ORIGINAL-ATTACHMENT: X-ORIGINAL-ATTACHMENTSIZE: None x-job: s.nagraj@zensar.in X-SMTPAUTH: s.nagraj@zensar.in X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuMPAFB2HFJz8g9c/2dsb2JhbABagwc1gX+BECO9SgOBJRZ0gisIAh4STAUGEFI/AQQLEwWHcJZ+oUiQBoEOhAMDiS+FW4hkhlGLEIMmNA Received: from unknown (HELO MSED42SLPC0337) ([115.242.15.92]) by outgoing.logix.in with ESMTP; 27 Aug 2013 15:25:03 +0530 From: "Sanjiv Nagraj" To: Subject: Problem in downloading a file from a 2.6.0 repository from a link within a JSP Date: Tue, 27 Aug 2013 15:25:28 +0530 Message-ID: <000e01cea30b$9398de80$baca9b80$@zensar.in> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac6jC4jSnQr4yxVdSPeP6+9N56w4xg== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org 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 - file.pdf. 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