Re: Images in ROOT/images are not found

2007-07-25 Thread Edward Mckee
David, I relookedat the webapps directory and I was mistaken. There is a images directory. I removed it and everything is now working. Thanks for getting me pointed in the write direction. Ed On Jul 25, 2007, at 3:01 PM, David Smith wrote: Do you happen to have a webapp named images?

Re: Images in ROOT/images are not found

2007-07-25 Thread Edward Mckee
That's a good idea but it doesn't look like it. Here are all of my images directories under tomcat. ./server/webapps/host-manager/images ./server/webapps/manager/images ./webapps/admin/images ./webapps/balancer/images ./webapps/jsp-examples/images ./webapps/ROOT/archived/images ./webapps/ROOT/

Re: Images in ROOT/images are not found

2007-07-25 Thread David Smith
Do you happen to have a webapp named images? If so, that's probably receiving your request instead. --David Edward Mckee wrote: When I try to load images in ROOT/images I get a "requested resource (/images/submit.jpg) is not available." error If I move this image to ROOT/image it works. T

Re: Images and response.getOutputStream()

2007-07-03 Thread Lyallex
Ricardo What can I say ... sometimes you just get a mental block about these things I used a servlet and now I don't get any java.lang.IllegalStateExceptions when loading images Thank you for showing me the light. Regards Duncan On 7/3/07, rpr_listas <[EMAIL PROTECTED]> wrote: Hi Lyallex! Y

Re: Images and response.getOutputStream()

2007-07-03 Thread rpr_listas
Hi Lyallex! You're getting a OutputStream ftrom a JSP? If the JSP has a simple single empty line before your java code <%%>, the JSP framework get a writer before your java code is executred. This is the cause of the IllegalState Exception. The rigth way to do this is from a servlet, but if y

Re: images

2006-02-22 Thread Hadraba Petr
Hmm, I wrote simple servlet which finds corresponding image in webapp resources and sends it to the client. This servlet also sets some headers like Last-Modified etc:-( I'm writing web application which uses SEO, supports XHTML, WML etc and I don't want to have tons of servlets:-( If you want, I

RE: Images caching

2006-01-18 Thread Rob Gregory
st Subject: RE: Images caching Thanks a lot, of course it has helped > -Mensaje original- > De: Rob Gregory [SMTP:[EMAIL PROTECTED] > Enviado el: martes, 17 de enero de 2006 19:39 > Para: 'Tomcat Users List' > Asunto: RE: Images caching > >

RE: Images caching

2006-01-17 Thread Bello Martinez Sergio
Thanks a lot, of course it has helped > -Mensaje original- > De: Rob Gregory [SMTP:[EMAIL PROTECTED] > Enviado el: martes, 17 de enero de 2006 19:39 > Para: 'Tomcat Users List' > Asunto: RE: Images caching > > Code as requested, Hope th

RE: Images caching

2006-01-17 Thread Rob Gregory
og.isDebugEnabled()) log.debug("Destroy Cache Filter"); this.objFilterConfig = null; } } -Original Message- From: Bello Martinez Sergio [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 07:12 To: Tomcat Users List Subject: RE: Images caching Hi Rob Gregory, I wou

RE: Images caching

2006-01-16 Thread Bello Martinez Sergio
lot (thanks to Alex Hyde, too) > -Mensaje original- > De: Rob Gregory [SMTP:[EMAIL PROTECTED] > Enviado el: martes, 17 de enero de 2006 1:12 > Para: 'Tomcat Users List' > Asunto: RE: Images caching > > Hey Guys, > > We had the exact same i

RE: Images caching

2006-01-16 Thread Rob Gregory
post code examples if needed. Hope this helps. Rob Gregory -Original Message- From: ALEX HYDE [mailto:[EMAIL PROTECTED] Sent: 16 January 2006 23:38 To: Tomcat Users List Subject: Re: Images caching Hey Bello, I'm fairly new to this but don't mind putting my two pence worth in.

Re: Images caching

2006-01-16 Thread ALEX HYDE
Hey Bello, I'm fairly new to this but don't mind putting my two pence worth in. I'm not that sure about the client side but I've heard mention of something called Squid which can cache static content quite well and would sit as a proxy in front of Tomcat. Gluck --- Bello Martinez Sergio <[EM