RE: pdf documents

2006-06-22 Thread Bob Wyatt
List Subject: Re: pdf documents Bob Wyatt wrote: Pid, HREF=C666119.pdf OK. The above is a relative path. The client browser (not the webapp) is looking in the wrong place, because you aren't telling it the correct path. You really need to try to get your head round the difference between

Re: pdf documents

2006-06-22 Thread Pid
, Mark, Martin, Suba, Martin, and David; your willingness to help, and the help rendered is greatly appreciated! Regards, Bob -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 11:59 To: Tomcat Users List Subject: Re: pdf documents Bob

Re: pdf documents

2006-06-21 Thread Suba Suresh
Is this problem of document access in different directory with 5.5.17? I am running the same build. Someone posted last week under the topic Tomcat configuration error and yesterday Daniel has posted a similar problem under Tomcat 5.5.17 and Ant. suba suresh. Mark Thomas wrote: Bob Wyatt

RE: pdf documents

2006-06-21 Thread Bob Wyatt
, where the second directory is not a subdirectory of the first? Regards, Bob -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 05:04 To: Tomcat Users List Subject: Re: pdf documents Don't you need to put the context file pdf.xml in a different place

RE: pdf documents

2006-06-21 Thread Bob Wyatt
=localhost_log. suffix=.txt timestamp=true/ /Host /Engine /Service /Server # Regards, Bob -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 22:30 To: Tomcat Users List Subject: Re: pdf documents Bob Wyatt wrote: Mark

Re: pdf documents

2006-06-21 Thread Pid
, Bob -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 05:04 To: Tomcat Users List Subject: Re: pdf documents Don't you need to put the context file pdf.xml in a different place? $CATALINA_HOME/conf/engine-prob-Catalina?/hostname-maybe-webapp

RE: pdf documents

2006-06-21 Thread Bob Wyatt
the pdf search path, or ignore it entirely? Can this 'feature' be disabled? Regards, Bob -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 09:53 To: Tomcat Users List Subject: Re: pdf documents np I don't understand why you're or your webapp

Re: pdf documents

2006-06-21 Thread Martin Gainty
: Wednesday, June 21, 2006 10:15 AM Subject: RE: pdf documents Pid, I mean that it appears as though the webapp is looking in its own path for the pdf, and not the path of pdf files defined for Tomcat... The webapp true path would be: $CATALINA_HOME/webapps/myapp/jsp/app/C666119.pdf

RE: pdf documents

2006-06-21 Thread Bob Wyatt
:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 10:22 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: pdf documents Hi Bob- in your Tomcat servlet code you can read the file directly in this example I am reading fubar.properties from folder /fu/bar BufferedReader reader = new BufferedReader

Re: pdf documents

2006-06-21 Thread Pid
the correct path. Regards, Bob P.S. Just reply to the list mate, I'm getting 2 copies... -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 09:53 To: Tomcat Users List Subject: Re: pdf documents np I don't understand why you're

RE: pdf documents

2006-06-21 Thread Bob Wyatt
of where or how to do it, but that does not mean it cannot be done. Thanks for all of your help! Regards, Bob -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 11:11 To: Tomcat Users List Subject: Re: pdf documents Bob Wyatt wrote: Pid, I mean

Re: pdf documents

2006-06-20 Thread Martin Gainty
: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

RE: pdf documents

2006-06-20 Thread Bob Wyatt
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

Re: pdf documents

2006-06-20 Thread David Smith
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

RE: pdf documents

2006-06-20 Thread Bob Wyatt
-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

Re: pdf documents

2006-06-20 Thread Suba Suresh
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

Re: pdf documents

2006-06-20 Thread David Smith
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

Re: pdf documents

2006-06-20 Thread Suba Suresh
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

Re: pdf documents

2006-06-20 Thread Mladen Adamovic
Bob Wyatt wrote: If I move the pdf to the webapps/appname directory, it will display just fine. I don't want to move the hundreds of pdf files the appname directory. Do the following work? Create webapps/appname/pdf as a symbolic link directory to /whatever/you/want/path/to/pdf ? --

Re: pdf documents

2006-06-20 Thread Mark Thomas
Bob Wyatt wrote: Context docBase=/usr/test/pdf /Context Sorry, I should have read you post more carefully. The above works for 5.5.x but for 5.0.x you will need Context docBase=/usr/test/pdf path=/pdf /Context On this version directory listings are enabled so http://host:port/pdf should

RE: pdf documents

2006-06-20 Thread Bob Wyatt
: contextInitialized() Regards, Bob -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 19:14 To: Tomcat Users List Subject: Re: pdf documents Bob Wyatt wrote: Context docBase=/usr/test/pdf /Context Sorry, I should have read you post more

RE: pdf documents

2006-06-20 Thread Bob Wyatt
I'm afraid not... Regards, Bob -Original Message- From: Mladen Adamovic [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 18:15 To: Tomcat Users List Subject: Re: pdf documents Bob Wyatt wrote: If I move the pdf to the webapps/appname directory, it will display just fine. I

RE: pdf documents

2006-06-19 Thread Bob Wyatt
/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

Re: pdf documents

2006-06-19 Thread Suba Suresh
/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

Re: pdf documents

2006-06-19 Thread Mark Thomas
Bob Wyatt wrote: So I'm not sure what to do - any advice? Create a pdf.xml file with the following contents and place it in your ${catalina.home}/webapps folder. Depending on your settings you may need to restart Tomcat. Context docBase=/full/path/to/directory/of/pdf/docs /Context This will