aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "SOS!!!!" Watch "SOS!!!!" New topic
Author

SOS!!!!

Geoffrey Ren
Greenhorn

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

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

Joined: Mar 22, 2000
Posts: 12769
    
    5
The web.xml configuration for servlets includes the tag to control loading and initializing a servlet on startup:
<load-on-startup>1</load-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.
Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

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


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

Joined: Nov 25, 2002
Posts: 18
Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOS!!!!