<servlet>
<servlet-name>requestFactoryServlet</servlet-name>
<servlet-
class>com.google.web.bindery.requestfactory.server.RequestFactoryServlet</
servlet-class>
<init-param>
<param-name>symbolMapsDirectory</param-name>
<!-- You'll need to compile with -extras and move the symbolMaps
directory
to this location if you want stack trace deobfuscation to work -->
<param-value>WEB-INF/classes/symbolMaps/</param-value>
<param-name>userInfoClass</param-name>
<param-value>com.dynatech.server.domain.NameData</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>requestFactoryServlet</servlet-name>
<url-pattern>/gwtRequest</url-pattern>
</servlet-mapping>
this stretch you need to check where the GWT is generating a
compilation of sources, perhaps because the problem is that he is not
able to find the java-script compiled. In my case it's in this
directory
"<url-pattern>/br.com.tbm.consult.Application/gwtRequest</ url-
pattern>"
To identify the directory you just go in the target folder after
compilation if you are using maven. if you are using the standard
build of gwt you should be in the war directory.
Any problems just post.
On 25 abr, 07:19, laxman lingampally <lingampall.lax...@gmail.com>
wrote:
> Hi all,
>
> please help me.
>
> i am wworking on gwt woth requestfactory, at that time getting above error.
>
> *here web.xml i configared .RequestFactoryServlet but it is internally
> calling LocalResourceFileServlet.*
>
> Why itis happening??????
>
> web.xml.
>
> <servlet>
> <servlet-name>requestFactoryServlet</servlet-name>
> <servlet-class>com.google.web.bindery.requestfactory.server.RequestFactoryServlet</servlet-class>
> <init-param>
> <param-name>userInfoClass</param-name>
> <param-value>com.dynatech.server.domain.NameData</param-value>
> </init-param>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>requestFactoryServlet</servlet-name>
> <url-pattern>/gwtRequest</url-pattern>
> </servlet-mapping>
>
> thanks in advace,
>
> thanks & regards.
> laxman
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment