aspose file tools*
The moose likes Servlets and the fly likes how to initialize or call a servlet from init method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to initialize or call a servlet from init method" Watch "how to initialize or call a servlet from init method" New topic
Author

how to initialize or call a servlet from init method

kishu
Greenhorn

Joined: Jul 20, 2001
Posts: 1
how to initialize or call a servlet from init method
i wanna to do that in the init method only . can some one give me code
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15657
    
  15

Not sure what you mean. The init() method is where you PUT your servlet initialization code. If you want one servlet to affect how another servlet is initialized, I'd probably have to know something more specific.


Customer surveys are for companies who didn't pay proper attention to begin with.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"kishu",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
 
subject: how to initialize or call a servlet from init method
 
Similar Threads
init method
init parameter.
How does servlet decide which init method to call
Initialization of ServletConfig and ServletContext objects
How to Unit test an axis service that extends ServletEndpointSupport?