ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Hello, I am implementing a ServletContextListener. I am wondering if it is possible to get initial parameters into it from web.xml ? From the javadocs it doesn't seem possible http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/servlet/ServletContextListener.html In other

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Shapira, Yoav
Hi, That's what context-parameters are for. Use context-param. Yoav Shapira Millennium ChemInformatics -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: Tuesday, November 12, 2002 8:42 AM To: Tomcat Users List Subject: ServletContextListener::Initial paramters

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Ralph Einfeldt
What about ServletContextEvent.getServletContext().getInitParameter() ? -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: Tuesday, November 12, 2002 2:42 PM To: Tomcat Users List Subject: ServletContextListener::Initial paramters I am implementing

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
, is it possible ? Thanx again, Reynir -Original Message- From: Ralph Einfeldt [mailto:ralph.einfeldt;uptime-isc.de] Sent: 12. nóvember 2002 13:55 To: Tomcat Users List Subject: RE: ServletContextListener::Initial paramters What about ServletContextEvent.getServletContext

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Shapira, Yoav
Subject: RE: ServletContextListener::Initial paramters Thanx for the replies, Am I correct when saying I must specify the contex parameters in server.xml like this : context-param param-nameparamName/param-name param-valueparmam Value string foobar/param-value /context-param I could use

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Collins, Jim
You can specify them in your web.xml Regards Jim -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: 12 November 2002 13:59 To: Tomcat Users List Subject: RE: ServletContextListener::Initial paramters Thanx for the replies, Am I correct when saying I

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
Great, I'll use it then, thanx -reynir -Original Message- From: Collins, Jim [mailto:jim.collins;uk.nomura.com] Sent: 12. nóvember 2002 14:14 To: 'Tomcat Users List' Subject: RE: ServletContextListener::Initial paramters You can specify them in your web.xml Regards Jim

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Collins, Jim
If you have any problems look in the servlet spec it contains a dtd for the web.xml file. Regards Jim. -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: 12 November 2002 14:19 To: Tomcat Users List Subject: RE: ServletContextListener::Initial paramters

RE: ServletContextListener::Initial paramters

2002-11-12 Thread Reynir Hübner
To: 'Tomcat Users List' Subject: RE: ServletContextListener::Initial paramters If you have any problems look in the servlet spec it contains a dtd for the web.xml file. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail

Re: ServletContextListener::Initial paramters

2002-11-12 Thread Cees van de Griend
Op dinsdag 12 november 2002 14:42, schreef Reynir Hübner: Hello, I am implementing a ServletContextListener. I am wondering if it is possible to get initial parameters into it from web.xml ? void contextInitialized(ServletContextEvent sce) { ServletContext sc = sce.getServletContext();