• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

redirecting to other jsp page

 
ato paitoo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a login page and I want to redirect to a registration page.But I get HTTP Status 404 - /registration.jsp error.

what i want is,if a user is not resisted they can register by clicking
what i am not doing right

main.java



index.jsp


the path or project hierarchy:Snapshot here

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your link href is wrong. It needs to be a server-relative URL starring with the context path. See the JspFaq for more information on creating such URLs.

And, you should follow conventions and make all folder names lowercase (except for WEB-INF which must be uppercase).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic