I'm not sure whether Jetty allows you to do this directly. If not, you could write a 
servlet which reads the file data & streams it to the HTTP response. 

Al.


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Herve Tchepannou
> Sent: 02 July 2003 01:48
> To: jboss
> Subject: [JBoss-user] How to configure JBoss-Jetty to serve 
> static content?
> 
> 
> Im running JBoss-Jetty-3.0.4.
> My application allow to upload images that are stored in a 
> directory /home/app/resources/ I'd like Jetty to allow my 
> users to access those images. For example, 
> http://mydomain.com/resources/a.gif will map > to 
> /home/app/resources/a.gif.
> 
> How do I configure Jetty for that
> thanx
> 
> -- 
> 
> Herve Tchepannou
> mailto:[EMAIL PROTECTED]
> 
> 


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to