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 <joshua.lamb...@gmail.com>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 Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---