Instantiating an Application Scoped Bean

2005-07-27 Thread niladri.gupta
Hi, I need some help on the following scenario: As soon as I start my tomcat server, I need to populate an application-scoped bean which will have values from the database. Thereafter I should be able to access the bean across all JSP pages using the tag. It'll be great if you guys can t

RE: Instantiating an Application Scoped Bean

2005-07-27 Thread Raghupathy,Gurumoorthy
StartUpServlet com.guru.servlet.StartUpServlet 1 Regards Guru -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:41 To: tomcat-user@jakarta.apache.org Subject: Instantiating an Application Scoped Bean Hi, I need some h

RE: Instantiating an Application Scoped Bean

2005-07-27 Thread Arup Vidyerthy
initialisation stuff there I guess. Regards... Arup Vidyerthy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:41 To: tomcat-user@jakarta.apache.org Subject: Instantiating an Application Scoped Bean Hi, I need some help on the following scenario: As

Re: Instantiating an Application Scoped Bean

2005-07-27 Thread Peddireddy Srikanth
One possible solution would be : U create a servlet which loads on startup. While defining servlets in web.xml set the load on startup attribute for some servlet and that servlet will be loaded/executed automatically by container at startup U can write ur code for loading and populating the bean

Re: Instantiating an Application Scoped Bean

2005-07-27 Thread Tim Funk
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:41 To: tomcat-user@jakarta.apache.org Subject: Instantiating an Application Scoped Bean Hi, I need some help on the following scenario: As soon as I start my tomcat server, I need to populate an appl