RE: pdf documents

2006-06-22 Thread Bob Wyatt
Pid, Thanks for everything! Regards, Bob -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 10:31 To: Tomcat Users List Subject: Re: pdf documents Bob Wyatt wrote: > Pid, > > Your question sent me hunting, and we were specifying no path a

Re: pdf documents

2006-06-22 Thread Pid
he PDF files, it's the > browser/client/user who is. > > Who authored the file/page that contains the list of PDFs? The author of > the commercial app, or someone in your organisation? > > >> Thanks for all of your help! >> >> Regards, >> >> Bo

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 roun

Re: pdf documents

2006-06-21 Thread Pid
, > > 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 that it appears as though t

RE: pdf documents

2006-06-21 Thread Bob Wyatt
I have no idea 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: >

Re: pdf documents

2006-06-21 Thread Pid
ou must map the PDF context to the place that is generated by the app**. * By altering the HTML to point to the path you defined in pdf.xml. ** By altering context pdf.xml definition to create the correct path. > Regards, > > Bob P.S. Just reply to the list mate, I'm getting 2 cop

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 Martin Gainty
7;" ; <[EMAIL PROTECTED]> Sent: 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 w

RE: pdf documents

2006-06-21 Thread Bob Wyatt
Can an app supersede 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 unde

Re: pdf documents

2006-06-21 Thread Pid
e than one > pdf directory, 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

RE: pdf documents

2006-06-21 Thread Bob Wyatt
, 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, > > I appreciate all of your help and energy on my behalf... > > But alas, this does

RE: pdf documents

2006-06-21 Thread Bob Wyatt
directory, 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

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 Wya

Re: pdf documents

2006-06-21 Thread Pid
ized() > 2006-06-20 19:25:39 StandardContext[/jsp-examples]SessionListener: > contextInitialized() > 2006-06-20 19:25:39 StandardContext[/servlets-examples]ContextListener: > contextInitialized() > 2006-06-20 19:25:39 StandardContext[/servlets-examples]SessionListener: > contextIn

Re: pdf documents

2006-06-20 Thread Mark Thomas
Bob Wyatt wrote: > Mark, > > I appreciate all of your help and energy on my behalf... > > But alas, this does not work for me... Hmmm. Can you post your server.xml (with any passwords etc blanked out). Thanks, Mark - To start

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 jus

RE: pdf documents

2006-06-20 Thread Bob Wyatt
lized() 2006-06-20 19:25:39 StandardContext[/servlets-examples]SessionListener: 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: >

Re: pdf documents

2006-06-20 Thread Mark Thomas
Bob Wyatt wrote: > Sorry, I should have read you post more carefully. The above works for 5.5.x but for 5.0.x you will need On this version directory listings are enabled so http://host:port/pdf should return a directory listing. > So I then copied pdf.xml to $CATALINA_HOME/webapps/app

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 ? -- Ml

Re: pdf documents

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

Re: pdf documents

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

Re: pdf documents

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

RE: pdf documents

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

Re: pdf documents

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

RE: pdf documents

2006-06-20 Thread Bob Wyatt
omcat 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
'out of the box'; I am unaware of any customizations. This is Tomcat 5.0.28 on AIX 5.2. Regards, -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 22:49 To: Tomcat Users List Subject: Re: pdf documents Bob Wyatt wrote: > So I'

Re: pdf documents

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

Re: pdf documents

2006-06-19 Thread Mark Thomas
o access your pdf documents. Note that since you are setting the docBase, you don't need to worry about allowLinking. The pdfs should be accessible through: http://host:port/pdf/ Note that with newer versions of Tomcat directory listing is disabled so you will need to specify a pdf in o

Re: pdf documents

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

RE: pdf documents

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

Re: pdf documents

2006-06-19 Thread Mark Thomas
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:

pdf documents

2006-06-19 Thread Bob Wyatt
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. If I move the pdf to the webapps/appname directory, it will display just fine. I don't wa