I tried that and it does not work either. I noticed that the examples that come with tomcat 4 does not show the images also! This is definitely a problem with WebAPP. I can connect to Tomcat directly 8080 and it works fine. I've seen others on the list server asking about the same problem... Who is in charge of WebApp developement? Their List Serve? B
-----Original Message----- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 2:36 PM To: Tomcat Users List Subject: Re: ONE More Time! why does Tomcat 4 work this way What about just "/images/butterfly.jpg"? This assumes that your webapp is rooted at /bbb -- so you don't need to use that as part of your path. This is what I normally use with mod_jk. Don't know if it will work with mod_webapp, though. --jeff ----- Original Message ----- From: "Brian Adams" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 11:12 AM Subject: RE: ONE More Time! why does Tomcat 4 work this way > there must be some sort of <filter> tag being enforced by tomcat 4.0 that > make me define the images directory before I just start using it... > any hints? > > -----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]> > -- 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]>
