running! a servlet at tomcat startup

2007-11-05 Thread loredana loredana
This issue is a classic one already I think. I've googled it and haven't found anything that could help solving this problem. I'm probably not the one to think about this but...if you would add the load-on-startup1/load-on-startup to a servlet, and from the init() method you would somehow try

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
loredana [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, November 05, 2007 10:32 AM Subject: running! a servlet at tomcat startup This issue is a classic one already I think. I've googled it and haven't found anything that could help solving this problem. I'm probably not the one

Re: running! a servlet at tomcat startup

2007-11-05 Thread loredana loredana
Users List users@tomcat.apache.org Sent: Monday, November 5, 2007 10:58:54 AM Subject: Re: running! a servlet at tomcat startup --- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
loredana [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November 05, 2007 11:48 AM Subject: Re: running! a servlet at tomcat startup thanks for the response johnny. That's probably the only way it can be done.. Unfortunatelly for me, I need variables like

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November 05, 2007 12:18 PM Subject: Re: running! a servlet at tomcat startup --- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat

Re: running! a servlet at tomcat startup

2007-11-05 Thread Johnny Kewl
Borkowski [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November 05, 2007 12:52 PM Subject: Re: running! a servlet at tomcat startup Johnny Kewl wrote: --- HARBOR: http://coolharbor

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
See Servlet.getServletConfig() and ServletConfig.getServletContext(). Wade - Original Message From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November 5, 2007 6:16:17 AM Subject: Re: running! a servlet at tomcat startup OK, now I'm

Re: running! a servlet at tomcat startup

2007-11-05 Thread Martin Gainty
No access to request??? Which AppServer are you running??? M-- - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November 05, 2007 6:16 AM Subject: Re: running! a servlet at tomcat startup

Re: running! a servlet at tomcat startup

2007-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Loredana, loredana loredana wrote: This issue is a classic one already I think. Hardly anyone actually wants to do this. Why do /you/ want to do this? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with

RE: running! a servlet at tomcat startup

2007-11-05 Thread Caldarale, Charles R
From: loredana loredana [mailto:[EMAIL PROTECTED] Subject: Re: running! a servlet at tomcat startup In case ur wondering why I used a servlet to fill the cache is because I need some variables like request.getContenxtPath, getRealPath() etc. Wouldn't a ServletContextListener be more

Re: running! a servlet at tomcat startup

2007-11-05 Thread Wade Chandler
: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, November 5, 2007 10:39:47 AM Subject: RE: running! a servlet at tomcat startup From: loredana loredana [mailto:[EMAIL PROTECTED] Subject: Re: running! a servlet at tomcat startup In case ur wondering