You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Josh Howe <jo...@sinu.com> on 2005/07/29 22:14:13 UTC

setting application variables

 

Hi,

 

I'm very new to Tomcat and JSP. Can anybody tell me how I can initialize
some application variables from a file so that they are available to all
of the asp pages in my application as soon as it starts? Thanks! 


Re: setting application variables

Posted by Ben Souther <bs...@fwdco.com>.
Look up context init-params and servlet init-params.

I have some demo apps that demonstrate the use of these:
http://simple.souther.us





On Fri, 2005-07-29 at 16:14, Josh Howe wrote:
>  
> Hi,
> 
>  
> 
> I'm very new to Tomcat and JSP. Can anybody tell me how I can initialize
> some application variables from a file so that they are available to all
> of the asp pages in my application as soon as it starts? Thanks! 
-- 
Ben Souther
F.W. Davison & Co.

CONFIDENTIALITY NOTICE:

This e-mail message, and any accompanying documents, is for the sole use
of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org