tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viktors Krebss <lo...@delfi.lv>
Subject Re: AW: ServletContext access question
Date Fri, 03 Aug 2001 08:47:45 GMT


Thomas Bezdicek wrote:

> Why not use your own Generic Servlet where you read out parameters
> set them global and use it with "extend MyGenericServlet"?
> (use in web.xml <load-on-startup>1</load-on-startup> for the
> Generic servlet, so that it get the parameters before any other
> servlets start, and dont use at init super.init(ServletConfig)!!)
>
> hope it helps,
> tom
>
>

Thanks for your reply.
Sure, there are workarounds, like moving everything to global context.
Perhaps that question more about servlet API in general, and tomcat security
as well, is it possible at all or not. Have not found such information so far
.

Regards,
--

Viktors Krebss, lopik@delfi.lv
SMC , http://www.smc.lv/
tel: +371-7777748, mob: +371-9243923, fax: +371-7777701



Mime
View raw message