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
, 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
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
, 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
=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
,
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
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
: 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
:[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
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
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
: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
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
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
-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
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
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
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
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
?
--
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
:
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
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
/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
/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
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
25 matches
Mail list logo