GeeCON Prague 2014*
The moose likes Tomcat and the fly likes alias or URL masking using tomcat. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "alias or URL masking using tomcat." Watch "alias or URL masking using tomcat." New topic
Author

alias or URL masking using tomcat.

Muhammad FAisal khan
Greenhorn

Joined: Dec 25, 2005
Posts: 5
I am having url some thing like
http://localhost:8008/whiteProject/controller.web?method=checkstatus

and i want to mask/alias it by
http://localhost:8008/whiteProject/checkstatus

anybody help me out how to do that.
Thanks in advance.
Faisal khan
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12792
    
    5
The URL style you are after is called the REST style - about which loads and loads of articles have been written, including for example, mine.

It is not really an alias, just a different way of defining how to get the service output.

Bill
[ September 17, 2008: Message edited by: William Brogden ]
 
GeeCON Prague 2014
 
subject: alias or URL masking using tomcat.