Sorry I meant "Context initialization occurs when application is deployed".
InitParams are set when a servlet is instanicated.
On Tuesday 20 January 2004 08:25 am, Ben Souther wrote:
> Context initialization only occurs when the servlet is first instanciated.
> So... no it is not possible to set session information in web.xml.
>
> You can create a param for the entire application (context) or you can
> create a parameter for a particular servlet.
>
> On Tuesday 20 January 2004 09:03 am, Edson Alves Pereira wrote:
> > Hello folks, i´m trying to create some session attributes in my
> > web.xml, i know only <context-param> and for this one i need
> > ContextServlet.getInitParameter( ), i´d like to use
> > HttpSession.getAttribute( ). Is possible to define session attributes in
> > web.xml?
> >
> > Regards,
> > Edson
--
Ben Souther
F.W. Davison & Company, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)