• Post Reply Bookmark Topic Watch Topic
  • New Topic

mapping Jsps and relevant Servlets within web.xml

 
Sapumal Bandara
Ranch Hand
Posts: 31
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could someone tell me how to map Jsps and relevant Servlets within a web.xml?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried so far? Please post your code and let us know what problems you are having with it. Be sure to UseCodeTags when posting.
 
Sapumal Bandara
Ranch Hand
Posts: 31
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my servlet


This is my Jsp


This is the generated web.xml, where and how should I map my jsp on this?



any help much appreciated.. Thank you.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to map JSPs unless you are doing something very special with them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!