Right now, it's giving me the following results:
--- Project.gwt.xml ---
<servlet path="/service" class="com.my.server.ServiceImpl">
--- web.xml ---
<servlet>
<servlet-name>com.my.server.ServiceImpl/com.my.Project/service</
servlet-name>
<servlet-class>com.my.server.ServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>com.my.server.ServiceImpl/com.my.Project/service</
servlet-name>
<url-pattern>/com.my.Project/com.my.Project/service</url-pattern>
</servlet-mapping>
This is causing me to update my source code to point to the new url-
pattern to actually get a connection in web mode, which THEN causes
the connection to fail in hosted mode.
So is there a configuration option to control the url-pattern mapping?
Thanks!
Justin
- Brill
kebe...@gmail.com
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8
to make it relative?
- Brill
On Mar 24, 9:09 pm, "Robert \"kebernet\" Cooper" <keber...@gmail.com>
wrote:
> Well, the original point of mergewebxml was to replicate the pattern of the
> GWTShellServlet, so the module base path prefix is the way the shell deploys
> it. Generally, you are already doing :
>
> endpoint.setServiceEntryPoint(GWT.getModuleBaseURL() + "/MyService");
>
> While the GWTShell *will* fallback to /MyService as a path, this doesn't
> take into account the context prefix of your deployed WAR in production
> since GWTShell runs the context as the root context.
>
> On 3/24/07, Brill <b...@pappin.ca> wrote:
>
>
>
> > I just went though the same pain to get the thing to deploy.
> > Obviously the url on the client side will depend on how you construct
> > it, but that was a real mess to get working...
>
> > - Brill
>
> --
> :Robert "kebernet" Cooper
> ::keber...@gmail.com
On Mar 25, 12:40 pm, "Brill" <b...@pappin.ca> wrote:
> O, so would it work to just use:
> Strng baseUrl = GWT.getModuleBaseURL();
> baseUrl = baseUrl .substring(1,baseUrl.length());
> endpoint.setServiceEntryPoint(baseUrl +"/MyService");
>
> to make it relative?
>
> - Brill
>
> On Mar 24, 9:09 pm, "Robert \"kebernet\" Cooper" <keber...@gmail.com>
> wrote:
>
> > Well, the original point of mergewebxml was to replicate thepatternof the
> > GWTShellServlet, so the module base path prefix is the way the shell deploys
> > it. Generally, you are already doing :
>
> > endpoint.setServiceEntryPoint(GWT.getModuleBaseURL() + "/MyService");
>
> > While the GWTShell *will* fallback to /MyService as a path, this doesn't
> > take into account the context prefix of your deployed WAR in production
> > since GWTShell runs the context as the root context.
>
> > On 3/24/07, Brill <b...@pappin.ca> wrote:
>
> > > I just went though the same pain to get the thing to deploy.
> > > Obviously theurlon the client side will depend on how you construct
Is this on purpose or is there a work around?
Justin