jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 13018
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 java.sun.com 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: 63350

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: http://aspose.com/file-tools
subject: SOS!!!!
It's not a secret anymore!