The moose likes Servlets and the fly likes why aliase in servlet or jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "why aliase in servlet or jsp" Watch "why aliase in servlet or jsp" New topic
Author

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
 
Similar Threads
getNamedDispatcher ????
Outer-Inner Question
servlets
I m facing a problem with java security in keystore aliases.
filter mapping