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
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
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
,
>
> 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
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:
>
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
:[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
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
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
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
,
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
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
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
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
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
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
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:
>
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
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
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
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
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
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
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
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
'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'
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.
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
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
./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
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:
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
32 matches
Mail list logo