File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes SOS!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "SOS!!!!" Watch "SOS!!!!" New topic


Geoffrey Ren

Joined: Nov 25, 2002
Posts: 18
When I started the weblogic. I want to initialize all of servlet. How shoul I implement this function.
Geoffrey Ren

Joined: Nov 25, 2002
Posts: 18
how to detect the servlet wheather it was initialized.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12982
The web.xml configuration for servlets includes the tag to control loading and initializing a servlet on startup:
You should download the servlet API from to study all aspects of servlet configuration.
Personally I like to have the init method log the fact that the servlet is initialized.

Why in the world did you title your post SOS??
Using an informative title would encourage responses and make the message sequence more useful to other users.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63053

Now I've got that damn ABBA song singing in my head!

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Geoffrey Ren

Joined: Nov 25, 2002
Posts: 18
I agree. Here's the link:
subject: SOS!!!!
It's not a secret anymore!