• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to remove .jsp extension from jsp page

 
V K Gupta
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to remove .jsp extension from jsp page in address bar of IE. For example I had the store the file data.jsp and when it is accesed in internet explorer it is shown as http://localhost/test/data.jsp.

But I want to show like this : http://localhost/test/data
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is certainly possible. Make use of servlets. If you want to centralize this, check the page controller pattern.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!