David,

Thanks for the reply...
This is over my head... is there a guide to learn to do this, or do you
perhaps have one that you would be willing to share?
I'm very, very new to this whole thing, and I know very little (next to
nothing) about the innards of all of this...

Regards,

Bob
-----Original Message-----
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 20, 2006 09:48
To: Tomcat Users List
Subject: Re: pdf documents

I would recommend a servlet that streams the files from some configured 
absolute path(s) to the client.  It's reasonably simple and allows you 
some degree of control over what is delivered.  Map the servlet to *.pdf 
in your web.xml to make it respond to all requests for pdfs.

--David

Bob Wyatt wrote:

>For the client side, sure.
>I already know it works if I copy the pdf file under my tomcat
>application... I just don't want to move hundreds of files there...
>
>Regards,
>
>Bob
>
>-----Original Message-----
>From: Martin Gainty [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, June 20, 2006 07:30
>To: Tomcat Users List
>Subject: Re: pdf documents
>
>Those files are in a proprietary format..you'll need to go to adobe and get

>the PDF plugin/viewer for display-
>M-
>This email message and any files transmitted with it contain confidential
>information intended only for the person(s) to whom this email message is
>addressed.  If you have received this email message in error, please notify
>the sender immediately by telephone or email and destroy the original
>message without making a copy.  Thank you.
>
>----- Original Message ----- 
>From: "Suba Suresh" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <users@tomcat.apache.org>
>Sent: Monday, June 19, 2006 10:28 PM
>Subject: Re: pdf documents
>
>
>  
>
>>I have the same problem as Bob but files mapping into different file 
>>systems. I also tried the context mapping as you (Mark)had suggested with 
>>app.xml file. I will read about the link config tomorrow and try it. Any 
>>help would be appreciated.
>>
>>thanks,
>>suba suresh.
>>
>>Bob Wyatt wrote:
>>    
>>
>>>Mark,
>>>
>>>No... Didn't know about it...
>>>Now that I know about it (Thank You), I'm not sure of what really needs 
>>>to
>>>be done... No where under $CATALINA_HOME do I have a defaultcontext.xml, 
>>>context.xml,
>>>or similarly named file. All of my similarly named files are *.html files
>>>      
>>>
>
>  
>
>>>or
>>>directories, as follows:
>>>
>>>#pwd
>>>/usr/local/jakarta-tomcat-5
>>># find . -name \*context\* -print
>>>./server/webapps/admin/context
>>>./server/webapps/admin/defaultcontext
>>>./webapps/tomcat-docs/config/printer/context.html
>>>./webapps/tomcat-docs/config/printer/defaultcontext.html
>>>./webapps/tomcat-docs/config/context.html
>>>./webapps/tomcat-docs/config/defaultcontext.html
>>>./webapps/wade2/scripts/contextmenu.css
>>>
>>>So I'm not sure what to do - any advice?
>>>
>>>Regards,
>>>
>>>Bob
>>>-----Original Message-----
>>>From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 
>>>21:13
>>>To: Tomcat Users List
>>>Subject: Re: pdf documents
>>>
>>>Bob Wyatt wrote:
>>>
>>>      
>>>
>>>>I have a directory that contains hundreds of pdf files.
>>>>
>>>>I have Tomcat 5.0.28 running on AIX 5.2.
>>>>
>>>>Under the webapps/appname directory, if I create a symbolic link to the
>>>>        
>>>>
>>>pdf
>>>
>>>      
>>>
>>>>files, they will not display.
>>>>        
>>>>
>>>Have you enabled linking? See the allowLinking property at
>>>http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
>>>
>>>Mark
>>>
>>>
>>>---------------------------------------------------------------------
>>>To start a new topic, e-mail: users@tomcat.apache.org
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To start a new topic, e-mail: users@tomcat.apache.org
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>      
>>>
>>---------------------------------------------------------------------
>>To start a new topic, e-mail: users@tomcat.apache.org
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to