Hello Tony,

Good to know.

Thanks.

Jake

Thursday, July 18, 2002, 12:38:51 AM, you wrote:

TL> Actually, you are wrong but your comments helped me find the
TL> general cause of the problem...it is not a bug in
TL> Tomcat...comments below....


TL> ----- Original Message -----
TL> From: "Jacob Kjome" <[EMAIL PROTECTED]>



>> Just because you are creating an inner class within a servlet
TL> does not mean
>> that that inner class now gets access to the ServletConfig.

TL> Yes, I should have access to it -- inner classes have access to
TL> their parent's fields. In this case my inner class *should* have
TL> complete access to the ServletConfig object stored in
TL> GenericServlet.

TL> By the time my init() is called, the ServletConfig object has
TL> already beens set by GenericServlet.init(ServletConfig config).

TL> The problem is that the ServletConfig object in GenericServlet is
TL> transient. When I serialize the Inner object the following
TL> objects get serialized as well:

TL>   1. My Servlet
TL>   2. GenericServlet (contains the transient ServletConfig object)

TL> I have more investigation to do....



TL> --
TL> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
TL> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to