yeah, they are different solutions.

-----Original Message-----
From: Micael [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 4:43 PM
To: Struts Users Mailing List
Subject: RE: Image References From JSP Pages inside WEB-INF


I take it that the filter solution here, which Jim Mitchell has also 
suggested, is different from the virtual host solution?

At 04:34 PM 1/24/03 -0500, you wrote:
>When you set up a Virtual Host in Apache you can do the following:
>
><VirtualHost IP_Address:Port_No>
>   ServerAdmin [EMAIL PROTECTED]
>   DocumentRoot "Path to Images"
>   ServerName servername
></VirtualHost>
>
>
>You could set up a filter in your web.xml doing the following:
>
><filter filter-name='ImageFilter'
>filter-class='com.companyname.applicationname.filters.ImageFilter'/>
>
>
>
>-----Original Message-----
>From: Micael [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 24, 2003 4:28 PM
>To: Struts Users Mailing List
>Subject: RE: Image References From JSP Pages inside WEB-INF
>
>
>Can you expand on this a bit?  I am not sure what you are doing here.  I
>use Tomcat out of the box.  What I want to do is to avoid any access from
>the outside to any resource without having to go through WEB-INF.
>
>At 04:17 PM 1/24/03 -0500, you wrote:
> >I have found that the best way to do this is to let Apache handle image
> >access using the DocumentRoot in the httpd.conf file.
> >
> >-----Original Message-----
> >From: Micael [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, January 24, 2003 4:15 PM
> >To: [EMAIL PROTECTED]
> >Subject: Image References From JSP Pages inside WEB-INF
> >
> >
> >How do you reference images, or other resources, from JSP pages inside
> >WEB-INF if you want the images inside WEB-INF too?
> >
> >
> >LEGAL NOTICE
> >
> >This electronic mail  transmission and any accompanying documents contain
> >information belonging to the sender which may be confidential and legally
> >privileged.  This information is intended only for the use of the
> >individual or entity to whom this electronic mail transmission was sent
as
> >indicated above. If you are not the intended recipient, any disclosure,
> >copying, distribution, or action taken in reliance on the contents of the
> >information contained in this transmission is strictly prohibited.  If
you
> >have received this transmission in error, please delete the message.
Thank
> >you
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
> >--
> >To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>
>LEGAL NOTICE
>
>This electronic mail  transmission and any accompanying documents contain
>information belonging to the sender which may be confidential and legally
>privileged.  This information is intended only for the use of the
>individual or entity to whom this electronic mail transmission was sent as
>indicated above. If you are not the intended recipient, any disclosure,
>copying, distribution, or action taken in reliance on the contents of the
>information contained in this transmission is strictly prohibited.  If you
>have received this transmission in error, please delete the message.  Thank
>you
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to