Re: How to prevent access to pdf files

2003-06-04 Thread John Brayton
I am on a page. There are a list of pdf files on the page. If a user clicks on a pdf file, I want him to be redirected to a login page if he is not logged in. However this doesnt seem to be happening even with filters. Does the click on a pdf file not recognized as a request? Verify that the PDF

RE: How to prevent access to pdf files

2003-06-04 Thread Varun Garg
] Sent: Tuesday, June 03, 2003 10:24 AM To: Struts Users Mailing List Subject: Re: How to prevent access to pdf files I am on a page. There are a list of pdf files on the page. If a user clicks on a pdf file, I want him to be redirected to a login page if he is not logged in. However

Re: How to prevent access to pdf files

2003-06-03 Thread Xu Cheng
The click should create a HTTP request. I would suggest that you put logging statements in your filter to figure out what happened. Did you configure your filter properly in web.xml so that it will intercept the requests to those PDF files? On Monday 02 June 2003 16:10, Tapan Nanawati wrote:

Re: How to prevent access to pdf files

2003-06-03 Thread Erik Price
Tapan Nanawati wrote: Hi all, I am on a page. There are a list of pdf files on the page. If a user clicks on a pdf file, I want him to be redirected to a login page if he is not logged in. However this doesnt seem to be happening even with filters. Does the click on a pdf file not recognized as

How to prevent access to pdf files

2003-06-02 Thread Tapan Nanawati
Hi all, I am on a page. There are a list of pdf files on the page. If a user clicks on a pdf file, I want him to be redirected to a login page if he is not logged in. However this doesnt seem to be happening even with filters. Does the click on a pdf file not recognized as a request? Please