Sunday, May 4, 2014

javax.servlet.* in non-GWT eclipse projects?

Hi,

I am moving frequently used code (e. g. login/logout) out of my GWT projects into a separate, server-side library, which is a non-GWT project in eclipse.

Within this library, the packages javax.servlet.* cannot be resolved. I found that in my GWT projects these are located in gwt-user.jar.

This opens several questions to me:
  • How can I provide the missing packages to my non-GWT project?
    What would be a general method? For example, can I avoid copying a specific jar file taken from a specific tomcat installation into my project?

  • Why are these server-side packages part of GWT (gwt-user.jar)?

  • What are the differences between the version in GWT and for example the version in Tomcat?
(Sorry, this may be a little bit off-topic, but in other groups GWT is not known...)

Thanks
Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment