Tuesday, February 1, 2011

Re: Are servlets available when performing GWT Unit Tests?

You can use servlets, but your web.xml isn't read, you have to declare them in your gwt.xml using a <servlet /> element ("the old way"). You'll generally create a specific gwt.xml that <inherits/> the module you want to test and adds the <servlet/> declarations.

--
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