Often, I will build the login screen and the login failure notification on the same page and will simply return the user back to the login screen, with some sort of parameter that tells the template page to write out a message (like, 'Login Failed. Try Again.') directly above the login fields. This way you don't have a separate page for the login failure, just a conditional rendering of error messages... and you don't also have to have a link that says 'Click here to try again'.
~akb On 5/10/05, Richard O. Hammer <[EMAIL PROTECTED]> wrote: > Working with JSP, Struts, and Tomcat 5, I would like to have some web > pages which will be sent to the browser under specific programmatic > circumstances, such as a login failure, but which cannot be reached by a > user who types the URL of the login-failure page into the browser. But > I don't know either the correct way or a neat way to do this. > > Can somebody enlighten me on this? How would you do it? > > Thank you, > Rich Hammer > > _______________________________________________ > Juglist mailing list > [email protected] > http://trijug.org/mailman/listinfo/juglist_trijug.org > -- ~akb _________________ A. Kevin Baynes _______________________________________________ Juglist mailing list [email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org
