Successful login not forwarding correctly.

Kevin Gutch <krg92632004-/[email protected]> Fri, 30 Jul 2004 08:21:33 -0700 (PDT)
Newsgroups gmane.comp.java.securityfilter.user
Message-ID <[email protected]>
--0-1805562999-1091200893=:39929
Content-Type: text/plain; charset=us-ascii

 Thanks for the CSS tip. It works fine now. 
 
I am noticing one thing however that makes me unsure if I am implementing the filter correctly.
Sometimes after a successful login the resulting page that displays is just a page with one of my images. I can however just type in the correct path and be granted access to any page.
For instance, if I try to http://localhost/myapp/index.jsp I get redirected to the login page. Once I login in it usually goes to the index.jsp. However, if I try to go to http://localhost/myapp/ I get redirected to the login page but a successfull login does not then direct me to the index.jsp page. It just displays an image in a blank page.
I am sure this is user error but am not sure what indicate the forwarding page after a successful login? I know the <form-default-page> is the page that will forwarded if a user bookmarks and then comes back to the pag after a successful login.
 What element points it to the start up page on a first time login. Is it <form-default-page> or is it the web.xml <welcome-file> element?
At this time both of these elements point to the same page in my app so I am not sure what the problem is? 
 
Kevin

--0-1805562999-1091200893=:39929
Content-Type: text/html; charset=us-ascii

<DIV>&nbsp;Thanks for the CSS tip.&nbsp;It works fine now. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I am noticing one thing however that makes me unsure if I am implementing the filter correctly.</DIV>
<DIV>Sometimes after a successful login the resulting page that displays is just a page with one of my images. I can however just type in the correct path and be granted access to any page.</DIV>
<DIV>For instance, if I try to <A href="http://localhost/myapp/index.jsp">http://localhost/myapp/index.jsp</A> I get redirected to the login page. Once I login in it usually goes to the index.jsp. However, if I try to go to <A href="http://localhost/myapp/">http://localhost/myapp/</A> I get redirected to the login page but a successfull login does not then direct me to the index.jsp page. It just displays an image in a blank page.<BR>I am sure this is user error but am not sure what indicate the forwarding page after a successful login? I know the &lt;form-default-page&gt; is the page that will forwarded if a user bookmarks and then comes back to the pag after a successful login.<BR>&nbsp;What element points it to the start up page on a first time login. Is it &lt;form-default-page&gt; or is it the web.xml &lt;welcome-file&gt; element?</DIV>
<DIV>At this time both of these elements point to the same page in my app so I am not sure what the problem is? </DIV>
<DIV>&nbsp;</DIV>
<DIV>Kevin</DIV>
--0-1805562999-1091200893=:39929--


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com