Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

redirect page problem  RSS feed

 
Nouf Nassri
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello,




I want help with a login page for users to identify themselves, the form reference to the servlet processing, I manage two cases:
* If the user enters the wrong fields must be redirected to the page authentification.jsp with an error (misidentification).
* If the fields are well informed, just redirect to the page home.jsp




But I do not know why the page home.jsp authentification.jsp and do not display any given that I NEVER use package

Thank you for the help.
 
Gokul Nanthakumar
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please post the error you are getting. are you able to access home.jsp and authentification.jsp directly from browser?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!