aspose file tools
The moose likes Servlets and the fly likes Everything i need to know about Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Everything i need to know about "init-param"?" Watch "Everything i need to know about "init-param"?" New topic

Everything i need to know about "init-param"?

mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
Can someone, in plain english, explain to me everythin one would need to know about <init-param>. How to use it, why advantages, disadvantages etc.
Thank you
<servlet-class>full classpath</servlet-class>

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12867
init params are the preferred way of communicating setup information to a servlet. They are more flexible than hard coding things like file locations into your servlet code. Thats about all there is to say about that.
It is sorta covered in the JavaRanch Style Guide.
subject: Everything i need to know about "init-param"?