my dog learned polymorphism*
The moose likes JSP and the fly likes web.xml & JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "web.xml & JSP" Watch "web.xml & JSP" New topic

web.xml & JSP

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
Is there a way to hide the implementation of my jsp pages?
What I mean is I dont want my urls to all be
Maybe have my URL say anything else but that...
All my jsps will be in a folder called jsp under the webapp dir.
John Smith

Joined: Jan 12, 2002
Posts: 6
Stick this in your web.xml file
for each jsp
now instead of: localhost:8080/name/jsp/test.jsp
used localhost:8080/name/qwerty
subject: web.xml & JSP
Similar Threads
Configuring a jsp page in web.xml
hiding status bar
JSP and request variables
deployment directory
Is WEB-INF Directory mandatory ?