I have to make the hosting of a project in a place where the mapping
in the web.xml file in the '<url-pattern>' of '<servlet-mapping>' must
begin with '/servlet', my question is how do this.
For example, this:
<servlet>
<servlet-name>someservlet</servlet-name>
<servlet-class>myproject.server.SomeServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>someservlet</servlet-name>
<url-pattern>/myproject/some</url-pattern>
</servlet-mapping>
It should look like this:
<servlet>
<servlet-name>someservlet</servlet-name>
<servlet-class>myproject.server.SomeServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>someservlet</servlet-name>
<url-pattern>/servlet/myproject/some</url-pattern>
</servlet-mapping>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.