Hi, I'm currently working on a custom AxisServlet in which I need to
pass more data to the .jsp pages. I wanted to extend the ListingAgent to
add more to the session's parameters, but the instance access right are
private so I can't overrides the AxisServlet instance with my own...

 

 

public class AxisServlet extends HttpServlet implements
TransportListener {

    private static final Log log = LogFactory.getLog(AxisServlet.class);

    public static final String CONFIGURATION_CONTEXT =
"CONFIGURATION_CONTEXT";

    public static final String SESSION_ID = "SessionId";

    protected transient ConfigurationContext configContext;

    protected transient AxisConfiguration axisConfiguration;

 

    protected transient ServletConfig servletConfig;

 

    private transient ListingAgent agent;

    ...

}

 

The simplest solution would be to change the access right to protected,
but I don't know if this would have any side effect... Based on the code
base I don't see why it would have any negative effects on the webapp...
Other than that, any ideas how I could do this without copying the
AxisServlet's doGet to my servlet class method to use my instance of
ListingAgent?

 

Thanks

 

________________________________

Guillaume Cauchon | DataDirect Technologies inc.

 -email: 

[EMAIL PROTECTED]

 -mobile: 

418.952-7357

 -work: 

418.649-1551

 

Reply via email to