Re: Init parameter in context.xml

2005-07-26 Thread Tim Funk
Only a guess try Context path=/appName ... Parameter name=paramName value=dummyValue/ /Context -Tim Arash Ramin wrote: In lieu of using web.xml, I'm trying to add an init parameter in our application's context.xml file: context path=/appName ... parameter name=paramName

RE: Init parameter in context.xml

2005-07-26 Thread Arash Ramin
Subject: Re: Init parameter in context.xml Only a guess try Context path=/appName ... Parameter name=paramName value=dummyValue/ /Context -Tim Arash Ramin wrote: In lieu of using web.xml, I'm trying to add an init parameter in our application's context.xml file

RE: Init Parameter

2003-09-19 Thread Shapira, Yoav
Howdy, Strange... Make sure the context-param and init-param names are different. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mailing List Servlet [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: Init Parameter

Re: Init Parameter

2003-09-19 Thread Jon Wingfield
Where in the code are you calling the method. If it's as an instance variable or in the servlet constructor then Tomcat hasn't yet inited the servlet and the getServletConfig() method doesn't behave as you are expecting. Of course, there's always the init(ServletConfig config) method. ;)

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
file, I guess I'll receive an error on loading the servlet? Kenny - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:14 PM Subject: RE: Init Parameter Howdy, Strange... Make sure the context-param and init

RE: Init Parameter

2003-09-19 Thread Shapira, Yoav
: Mailing List Servlet [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 11:34 AM To: Tomcat Users List Subject: Re: Init Parameter Hello Shapira, I first tried with only the init-param (no context param) and it already didn't work . And I have the same problem with all my others servlets

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
Hello Jon, I'm gonna try this..Look interesting.. Thanks a lot. - Original Message - From: Jon Wingfield [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:26 PM Subject: Re: Init Parameter Where in the code are you calling the method. If it's

Re: Init Parameter

2003-09-19 Thread Mailing List Servlet
) throws ServletException, IOException { ... Kenny - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:36 PM Subject: RE: Init Parameter Owdy, If you have an invalid web.xml, tomcat will tell you

Re: init parameter and web.xml cant get it to work?

2002-03-14 Thread Matt Egyhazy
try message = getInitParameter(message); matt - Original Message - From: Leon Vermaak [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 5:00 PM Subject: init parameter and web.xml cant get it to work? I have Tomcat 4.0 running as a service on

Re: init parameter and web.xml cant get it to work?

2002-03-14 Thread Emir Alikadic
On 3/14/2002 5:00 PM, Leon Vermaak wrote: [SNIP] String repeatString = config.getInitParameter(repeat); [SNIP] param-name repeats /param-name [SNIP] repeat != repeats Emir. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]