I'm trying to do some initialisation in my constructor. It calls other
classes and tries to pass the class the Application context. However, at
this stage, the "servlet" property has not been initialised in the Action
yet. I assume it must be possible to get the ServletContext from somewhere,
but I have no Idea where.

Any help would be much appreciated.

MyAction()
{
    super();
    OtherClass.doStuff(servlet.getServletContext());
}

cheers

mc


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

Reply via email to