This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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
It is sorta covered in the JavaRanch Style Guide.
subject: web.xml & JSP
It's not a secret anymore!