RE: Can anyone give me an answer?

2001-12-19 Thread Brian Adams

Hi Ed,
I do mine via apache httpd.conf

Alias /catgraphics/ "C:/Apps/Apache/catgraphics/"


Options FollowSymLinks
AllowOverride None


here is an alias...
now my web-app gets it like:
here



-Original Message-
From: Ed Turner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 8:09 AM
To: [EMAIL PROTECTED]
Subject: Can anyone give me an answer?


I am running a web application under Tomcat 3.2.3 and would like to
access existing jpeg files from the server's local disk.   Is there a
way to get to these files from my JSP without putting them under the web
app directory??   Any hints?


Ed


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Can anyone give me an answer?

2001-12-19 Thread Ed Turner

These files are actually being displayed in a window with javascript.   The
filename is passed to a javascript function when a button is clicked.   The
script loads the file into a window.   I was unable to successfully load the
files without actually locating them under my web app directory.   I should
be able to create a solution if I had some ideas of what functions/classes
to use.


"Bongiorno.Christian" wrote:

> Get??? Who is "Getting" them? The web browser or the server?
>
> If it is the web-browser you can just upload with http
>
> -Original Message-
> From: Ed Turner [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 19, 2001 9:09 AM
> To: [EMAIL PROTECTED]
> Subject: Can anyone give me an answer?
>
> I am running a web application under Tomcat 3.2.3 and would like to
> access existing jpeg files from the server's local disk.   Is there a
> way to get to these files from my JSP without putting them under the web
> app directory??   Any hints?
>
> Ed
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Can anyone give me an answer?

2001-12-19 Thread Bongiorno.Christian

Get??? Who is "Getting" them? The web browser or the server?

If it is the web-browser you can just upload with http

-Original Message-
From: Ed Turner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 9:09 AM
To: [EMAIL PROTECTED]
Subject: Can anyone give me an answer?


I am running a web application under Tomcat 3.2.3 and would like to
access existing jpeg files from the server's local disk.   Is there a
way to get to these files from my JSP without putting them under the web
app directory??   Any hints?


Ed


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Can anyone give me an answer?

2001-12-19 Thread Guido Medina

Yes, java.io.File, java.io.FileReader, read a litle bit about and that's it,
after set up in your servlet (or jsp) the context type eg:
context-type/image-gif, and that's it, noone of course will write for you
that servlet but that's the way it could be done.

Guido.

-Original Message-
From: Ed Turner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 10:09 AM
To: [EMAIL PROTECTED]
Subject: Can anyone give me an answer?


I am running a web application under Tomcat 3.2.3 and would like to
access existing jpeg files from the server's local disk.   Is there a
way to get to these files from my JSP without putting them under the web
app directory??   Any hints?


Ed


--
To unsubscribe:   
For additional commands: 
Troubles with the list: