yes, no worky!!!
:(

-----Original Message-----
From: Carsten Lingemann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:31 PM
To: 'Tomcat Users List'
Subject: RE: ONE More Time! why does Tomcat 4 work this way


have you tried the following:

<img border="0" src="<%= request.getContextPath() %>/images/butterfly.jpg">

Carsten

-----Original Message-----
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 2:04 PM
To: '[EMAIL PROTECTED]'
Subject: ONE More Time! why does Tomcat 4 work this way


I hace Apache with WebApp warping to tomcat
my jsp page has this image:
<img border="0" src="/bbb/images/butterfly.jpg">
The web-app is named bbb and it has a directory called images.  The jsp page
WILL NOT SHOW THIS IMAGE!!!

If I change it to:
<img border="0" src="http://localhost/bbb/images/butterfly.jpg";>  It works
fine and fast!

WHAT THE F*&(* is up with my config or Tomcat???

my warp definition is:
everything that has a bbb after the url warps to Tomcat
WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples
WebAppDeploy bbb conn /bbb

Am I missing something in my web.xml that should say how to handle the
images folder?

B




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to