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 Tomcat and the fly likes Url Abstraction 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 » Products » Tomcat
Reply locked New topic

Url Abstraction

Praveen Reddy
Ranch Hand

Joined: Jul 12, 2006
Posts: 51
the method you suggested is ok if we have only one jsp file if we have more than one jsp file(Ex 100 jsp pages) then it will be difficult to write servlets for all, if you have any other method then please suggest

i came to know that there is a jar file which we have to configure in web.xml file which will take care of url abstraction i dont know any thing more regarding this even the jar file name, if any one have any idea regarding this please help me out

Thanks in Advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
Is this a reply to some existing topic? It's a bit hard to make sense of as it is.

But the part about "configuring a jar file in web.xml" sounds fishy to me - web.xml is not used for anything jar-related (unless the jar file name is a parameter of some kind).
Praveen Reddy
Ranch Hand

Joined: Jul 12, 2006
Posts: 51
i am sorry java ranch actually it was a reply..i made it as a post.

My problem is i want to hide the URL's of my project, we are developing a project in java, i want .jsp extensions should not be visible to the user

For ex:\path\mypath\test1.jsp should be displayed as or\path

i have 50 Jsp files then please tell me i wat way can i achive this.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Would you mind re-posting your reply in the original thread.
Spreading conversations across multiple threads gets confusing very quickly; especially if people start replying to both at once.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Consider Paul's rocket mass heater.
subject: Url Abstraction
jQuery in Action, 3rd edition