File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alias or URL masking using tomcat.

 
Muhammad Faisal khan
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic