Kenneth,

In a project I'm working on, we used the ServletContext to hold this
information as you said. To get this information loaded at
initialization time, we defined an initialization servlet and set it to
be preloaded. After that, all global objects were ready and available
for us to use.

bab

"Kwan, Kenneth Y" wrote:
>
> Thanks. I also found it can be implemented using ServletContext.
>
> Anyway, no matter which solution, how can I instruct a Servlet Engine to
> load my shared objects during web application initialization. In JSP, I can
> use "global.jsa". In ASP, I can use "global.asa". In Servlet, how ???
>
> Kenneth Kwan

--
Brian Button           [EMAIL PROTECTED]
Senior Consultant      Object Mentor, Inc.
Products Review Editor C++ Report Magazine

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to