• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOS!!!!

 
Geoffrey Ren
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I started the weblogic. I want to initialize all of servlet. How shoul I implement this function.
Thanks!
 
Geoffrey Ren
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to detect the servlet wheather it was initialized.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now I've got that damn ABBA song singing in my head!
bear
 
Geoffrey Ren
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic