users@glassfish.java.net

Re: Cannot display image from form-based login jsp

From: Hassan Schroeder <hassan.schroeder_at_gmail.com>
Date: Wed, 5 Aug 2009 13:21:50 -0700

On Wed, Aug 5, 2009 at 1:04 PM, <glassfish_at_javadesktop.org> wrote:

> I coded a form-based login jsp and it works fine and allow me to login (I already did all setups). However the login jsp cannot display the image which I put in the jsp.

>  <img src="/images/eah_banner_logo.gif" height="83" width="90" border="0">

Do you have other images in that directory? Can you see them? If
so, view source to see what their url path is.

And is your app the root (/) context? If not, that url isn't going to work
for sure.

-- 
Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
twitter: @hassan