jQuery in Action, 2nd edition*
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
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
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).


Ping & DNS - my free Android networking tools app
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: www.xyz.com\path\mypath\test1.jsp should be displayed as
www.xyz.com or www.xyz.com\path

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

Joined: Dec 11, 2004
Posts: 13410

Praveen,
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.

Thanks


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Url Abstraction
 
Similar Threads
what is the use of abatraction?
Error in Loading WAR file
Custom Tags in Jsp
jsp - jar - dll
what is Abstraction