Thanks, I was using that in my HttpServlet based servlets but did not
realize that the GWT RPC servlets also called this.

On Aug 3, 10:28 pm, Kamal Chandana Mettananda <[email protected]>
wrote:
> Hi,
>
> You must not use the constructor, try using the init(ServletConfig) method
> of a Servlet when you are trying to access init params.
>
> ServletConfig.getInitParameter(String);
>
> BR,
> Kamal
>
> ---------------------------------------http://lkamal.blogspot.com
>
> On Tue, Aug 4, 2009 at 3:33 AM, Joshua Lambert 
> <[email protected]>wrote:
>
>
>
> > Hi,
>
> > I have some basic information stored in our web.xml, primarily config
> > related settings like database connection information.  I would
> > ideally like to read this in during the constructor of the
> > RemoteServiceServlet, however I am generating exceptions when I try to
> > do so.  (I am using getInitParam())
>
> > Does anyone have any hints?  Is this not supported?  I did some
> > searching and found an old document on this, but it seemed to imply
> > patching the gwt jar file.  I'd rather not do this...
>
> > Thanks for any help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to