Thanks dims!

In the meantime I had found another workaround: I was setting a property
in the ConfigurationContext and was accessing it through the
ServletContext, but this requires a lot more code and it's not as clean
as the way data is passed from the Servlet to the .jsp pages in the
weapp design. 
________________________________

Guillaume Cauchon | DataDirect Technologies inc.         
 -email:        [EMAIL PROTECTED]        
 -mobile:       418.952-7357     
 -work:         418.649-1551     
-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 08, 2008 4:50 PM
To: [email protected]
Subject: Re: AxisServlet & ListingAgent

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

anyways, i fixed the AxisServlet in Axis2.

thanks,
dims

Davanum Srinivas wrote:
| eek! Don't know why Asankha did not fix Axis2's when he checked in the
| synapse patch :(
|
| -- dims
|
| Andreas Veithen wrote:
| | Hi Guillaume!
| |
| | In the Apache Synapse project we had the very same problem. See
| | http://issues.apache.org/jira/browse/SYNAPSE-222 for a workaround.
| |
| | Andreas
| |
| | On 08 Feb 2008, at 15:50, Guillaume Cauchon wrote:
| |
| |> Hi, Im 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 sessions parameters, but the instance access
right
| |> are private so I cant 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 dont know if this would have any side effect&
Based
| |> on the code base I dont see why it would have any negative effects
on
| |> the webapp& Other than that, any ideas how I could do this without
| |> copying the AxisServlets 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
| |>
| |
| |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHrM6UgNg6eWEDv1kRAvWDAJ9M5FQlvFMDKMGMmN6qOfXIJNZMDQCeMMka
POv7gAZxW3SH47PZCRwCjlA=
=xJFv
-----END PGP SIGNATURE-----

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


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

Reply via email to