wood burning stoves 2.0
The moose likes Servlets and the fly likes why aliase in servlet or jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "why aliase in servlet or jsp" Watch "why aliase in servlet or jsp" New topic

why aliase in servlet or jsp

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Dear sir i would like to know one thing that when we deploye a servlet with sun microsystem deployee tool then we give two name

first one is the context root
second is the Aliase

But why we give the aliase name of servlet? is it mandatory?

with regard

Arun kumar maalik
nelson christos
Ranch Hand

Joined: Aug 08, 2006
Posts: 57
yeah the alias is mandatory
the alias specified in the web.xml file in WEB-INF dir is used by the container to recoginize the web resource and then initialize it.
and anyway you never specify the direct location of your web resource.

i think therefore i am
I agree. Here's the link: http://aspose.com/file-tools
subject: why aliase in servlet or jsp
jQuery in Action, 3rd edition