Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alias or URL masking using tomcat.

 
Muhammad Faisal khan
Greenhorn
Posts: 13
  • 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: 13061
6
  • 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