This may or may not be the issue.  I'd really need more details on the
situation.

Are you setting the header as an jpg/gif type on the servlet you're loading
for the image or however you may be doing it?

Matt

Matthew L. Wright
Java Internet Programmer
Jupiter One
Web World Studios West Coast
www.jupiterone.com
(818) 763-2927
----- Original Message -----
From: "Nicole Ruschmaritsch" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 2:15 AM
Subject: create dynamic img-url from servlet


> Hi everyone,
>
> I've got a problem:
>
> I want to get a dynamic URL from a servlet for displaying a dynamic image
in a static html-page:
>
> <a href="/servlet/myservleturl>
>     <img src=/servlet/myservletsrc>
> </a>
>
> The a href is interpreted correct. When I click on it, the servlet is
doing a redirect to some other random page. But in the img-tag the servlet
doesn't seem to be called, the browser wants to load the servlet as an img.
>> Img not found-Error!
> When I call the servlet directly by the URL in the browser, I get the
correct URL of my img: http://myserver.de/img/img1.gif as output. But this
url doesn't seem to be given back to the img-Tag, when I call the servlet in
a static html-page as shown above.
>
> Any ideas?!?!
>
> Thanks in advance
>
> nicole
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to