Hi everyone,
I have a serious problem with my GWT project.

I have two modules, each with client code, shared and server parts.
One is called ‘administration’ and one ‘signup’.

The module inherit each other because of some shared files (server
classes of appengine)

I call my JavaScript files via HTTP Servlets in the different
packages.

I differentiate the calls via servlet mapping in my web.xml
Looks like this:

<servlet>
  <servlet-name>administrationHTTP</servlet-name>
  <servlet-
class>com.developergarden.app.eventmanagement.administration.server.AdministrationHTTPServlet</
servlet-class>
</servlet>

<servlet>
  <servlet-name>signupHTTP</servlet-name>
  <servlet-
class>com.developergarden.app.eventmanagement.signup.server.SignUpHTTPServlet</
servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>signupHTTP</servlet-name>
  <url-pattern>/signup</url-pattern>
</servlet-mapping>

<!-- Default page to serve -->
<welcome-file-list>
  <welcome-file>administrationHTTP</welcome-file>
</welcome-file-list>


So when I open http://...appspot.com should be called the
administrationHTTP and when I open http://...appspot.com/signup should
be called the signupHTTP.

Fact is when I try to open the administrationHTTP the two servlets mix
up and serve both JavaScripts. I first see my UI of the administration
but then the signup disables all interaction.

When I call my signup it works in first step (the part of the HTTP
Servlet), but when the JavaScript is loaded it tries to load a login
(which is the first action of my administration module) and so it
dumps.

I compile my modules in different folders ‘administration’ and
‘signup’ with ‘administration.nocache.js’ and ’signup.nocache.js’ and
when signup/login is called (doesn’t exist, it only exists
administration/login) it all fails.

Has anybody an idea or know why my different modules mix up? I’m
thankful for any advice.

Best regards
Jochen

-- 
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-tool...@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.

Reply via email to