Thanks...
On Apr 24, 10:49 am, "Alejandro D. Garin" <aga...@gmail.com> wrote:
> Hi,
>
> Try moving your applicationContext.xml to WEB-INF/applicationContext.xml
>
> On Fri, Apr 24, 2009 at 10:38 AM, mabebe <meklitabayab...@gmail.com> wrote:
>
> > Hi i am having difficulty integrating spring with gwt. Below is my
> > code for my serviceImpl class...and where i think the error is
>
> > @Override
> > public void init() throws ServletException {
> > super.init();
> > ServletContext sc = this.getServletContext();
>
> > WebApplicationContext ctx =
> > WebApplicationContextUtils.getWebApplicationContext(sc); <--- this
> > returns a null pointer exception exception
> > reportsFacade = (IReportsFacade) ctx.getBean("ReportsFacade");
> > }
>
> > i have the following in my webapp web.xml file...
>
> > <context-param>
> > <param-name>contextConfigLocation</param-name>
> > <param-value>
>
> > classpath:org/personalsite/config/applicationContext.xml
> > </param-value>
> > </context-param>
>
> > <listener>
> > <listener-class>
>
> > org.springframework.web.context.ContextLoaderListener
> > </listener-class>
> > </listener>
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---