I have JDBCRealm and Form Based AUTH.

I have an image in my login.jsp file.
Like this:
<IMG src='/myApp/images/myImage.gif' width='250' height='75'>

When I navigate to myApp/index.jsp, I get redirected to my login.jsp file (just as I should).
But, when I login, I get redirected to the image referenced in login.jsp, instead of to index.jsp.


It kinda makes since that this would happen, because j_security_check sees the image file as the first target file to load.

However; it is not what I want to happen.

I could remove my <IMG> and everything works fine. But, I'd rather figure out how to keep my <IMG> in login.jsp and get redirected to index.jsp.

Anyone know how to do this?


Something I forgot to mention:


When login.jsp loads up, it does not load up the image.
Then when I enter the UID & PWD j_security_check sends me to the image that did not loadup.


If I take the image out of login.jsp, then it works like I think it should.

Anyone know how to use an image in login.jsp?

--
*******************************************
* Rick Roberts                            *
* Advanced Information Technologies, Inc. *
*******************************************


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to