url-pattern for shared servlets
Is there a way to set up Servlet mappings to work on multiple pages? To explain the question in more depth:
When setting up Services to talk between the client and server in GWT, information about them needs to be added to the web.xml file along the lines of:
<servlet>
<servlet-
<servlet-
</servlet>
<servlet-mapping>
<servlet-
<url-
</servlet-
Where
[module rename-to] is a field in the xml file corresponding to the class the entry point for the page is
[service relative path] is defined in an annotation in the Service class itself.
So for example:
The Mugle page has the <module rename-to="mugle">
and the login service has the relative path of "login"
so in web.xml we have:
<url-
However this login service needs to be used on every page. However not knowing enough about GWT or servlet mappings im not sure how to go about doing this, and was wondering if you had any advice, having worked used GWT before?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- MUGLE Edit question
- Assignee:
- Matt Giuca Edit question
- Solved by:
- Matt Giuca
- Solved:
- Last query:
- Last reply: