Re: [Webmacro-devel] WM-constructor

Keats Kirsch <[email protected]>
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
It needs the servletContext *and* the classloader for the 
servletContext.  WM can get both from the Servlet, which is why it was 
done that way.  I don't think there is a guaranteed way to get the 
servlet classloader from the servletContext.

Let's not break all the old WM servlet code.  However if you want to be 
explicitly pass in both arguments, I don't see any problem with that.

Keats

Endre Stølsvik wrote:

>The WM constructor taking a servlet, doesn't that really just need the
>servletContext or what it is?
>
>What about making a constructor that takes the argument that is really
>needed, instead of having a constructor that takes an argument which is
>instantly asked for another object? Pretty please before 2.0.
>
>Endre
>
>
>  
>




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.