You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Eric Lubin <el...@us.ibm.com> on 2001/05/21 16:20:19 UTC

Images not showing on Win2000

Can someone running Jakarta Tomcat 3.2.1  on Windows 2000 test this for me?
Maybe it's a bug and i'll post it to the dev list.

Create a new directory
Put 2 JPG images in it, or the same one renamed.  Name one "hello.jpg" and
the other "hello test.jpg" (WITH THE SPACE)
Now point your browser at that directory and let Tomcat build the page for
you.
Click on both images

In my case, only the first one will display.  The second will give a 404
page not found error.

Eric Lubin
elubin@us.ibm.com


Re: Images not showing on Win2000

Posted by Jim Rudnicki <jd...@pacbell.net>.

> Can someone running Jakarta Tomcat 3.2.1  on Windows 2000 test this for
me?
> Maybe it's a bug and i'll post it to the dev list.

Confirmed this in T3.3m2 Win2000 - problem with urls with spaces.
Doesn't depend on images abc.txt is ok, abc def.txt fails.
Fixed in T3.3m3.


Re: Images not showing on Win2000

Posted by Marco Baringer <ma...@convey.it>.
just a guess, but if 'http://127.0.0.1/img/hello test.jpg' doesn't
work what if you try:
'http://127.0.0.1/img/hello+test.jpg' 
or
'http://127.0.0.1/img/hello%20test.jpg' 

i'm guessing tomcat assumes (as HTTP protocol says it should) the a
space marks the end of the URL

On Mon, May 21, 2001 at 04:47:45PM +0200, oLi wrote:
> I get the same under NT. Obviously it is a bug, when I
> have my static content served by IIS it works fine.
> 
> oLi
> 
> --- Eric Lubin <el...@us.ibm.com> schrieb: > Can
> someone running Jakarta Tomcat 3.2.1  on Windows
> > 2000 test this for me?
> > Maybe it's a bug and i'll post it to the dev list.
> > 
> > Create a new directory
> > Put 2 JPG images in it, or the same one renamed. 
> > Name one "hello.jpg" and
> > the other "hello test.jpg" (WITH THE SPACE)
> > Now point your browser at that directory and let
> > Tomcat build the page for
> > you.
> > Click on both images
> > 
> > In my case, only the first one will display.  The
> > second will give a 404
> > page not found error.
> > 
> > Eric Lubin
> > elubin@us.ibm.com
> > 
> 
> 
> __________________________________________________________________
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There's a crack in everything.
It's how the light gets in.
	-Isonard Cohen

Re: Images not showing on Win2000

Posted by Arnaud Dostes - NTI <ad...@nti-sa.com>.
probably something with the space needing to be a %20 

----- Original Message ----- 
From: "oLi" <ol...@yahoo.de>
To: <to...@jakarta.apache.org>
Sent: Monday, May 21, 2001 4:47 PM
Subject: Re: Images not showing on Win2000


> I get the same under NT. Obviously it is a bug, when I
> have my static content served by IIS it works fine.
> 
> oLi
> 
> --- Eric Lubin <el...@us.ibm.com> schrieb: > Can
> someone running Jakarta Tomcat 3.2.1  on Windows
> > 2000 test this for me?
> > Maybe it's a bug and i'll post it to the dev list.
> > 
> > Create a new directory
> > Put 2 JPG images in it, or the same one renamed. 
> > Name one "hello.jpg" and
> > the other "hello test.jpg" (WITH THE SPACE)
> > Now point your browser at that directory and let
> > Tomcat build the page for
> > you.
> > Click on both images
> > 
> > In my case, only the first one will display.  The
> > second will give a 404
> > page not found error.
> > 
> > Eric Lubin
> > elubin@us.ibm.com
> > 
> 
> 
> __________________________________________________________________
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de


Re: Images not showing on Win2000

Posted by Richard Draucker <ri...@draucker.com>.
You didn't say how you're creating your pages.  If you're
using out.println statements, be sure to put quotes around
the image name like so, out.println("<img src=\"hello
test.jpg\">");




On Mon, 21 May 2001, you wrote:
> I get the same under NT. Obviously it is a bug, when I
> have my static content served by IIS it works fine.
> 
> oLi
> 
> --- Eric Lubin <el...@us.ibm.com> schrieb: > Can
> someone running Jakarta Tomcat 3.2.1  on Windows
> > 2000 test this for me?
> > Maybe it's a bug and i'll post it to the dev list.
> > 
> > Create a new directory
> > Put 2 JPG images in it, or the same one renamed. 
> > Name one "hello.jpg" and
> > the other "hello test.jpg" (WITH THE SPACE)
> > Now point your browser at that directory and let
> > Tomcat build the page for
> > you.
> > Click on both images
> > 
> > In my case, only the first one will display.  The
> > second will give a 404
> > page not found error.
> > 
> > Eric Lubin
> > elubin@us.ibm.com
> > 
> 
> 
> __________________________________________________________________
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
-- 
Richard Draucker,  richard@protected-data.com
Protected-Data.Com  www.protected-data.com
Remote data support for web developers.









Re: Images not showing on Win2000

Posted by oLi <ol...@yahoo.de>.
I get the same under NT. Obviously it is a bug, when I
have my static content served by IIS it works fine.

oLi

--- Eric Lubin <el...@us.ibm.com> schrieb: > Can
someone running Jakarta Tomcat 3.2.1  on Windows
> 2000 test this for me?
> Maybe it's a bug and i'll post it to the dev list.
> 
> Create a new directory
> Put 2 JPG images in it, or the same one renamed. 
> Name one "hello.jpg" and
> the other "hello test.jpg" (WITH THE SPACE)
> Now point your browser at that directory and let
> Tomcat build the page for
> you.
> Click on both images
> 
> In my case, only the first one will display.  The
> second will give a 404
> page not found error.
> 
> Eric Lubin
> elubin@us.ibm.com
> 


__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de