Forums Register Login

How to remove .jsp extension from jsp page

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Yes, it is certainly possible. Make use of servlets. If you want to centralize this, check the page controller pattern.
brevity is the soul of wit - shakepeare. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1006 times.
Similar Threads
Running a web app with compiled code
JSF - JasperException
struts application not using *.do
JSP Initialization Parameters
How to display Welcome JSP Page for a Web Application
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:01:30.