Entry points on different urls possible?

Posted by user246114 on Stack Overflow See other posts from Stack Overflow or by user246114
Published on 2010-04-24T23:15:02Z Indexed on 2010/04/24 23:23 UTC
Read the original article Hit count: 202

Filed under:

Hi,

I've got a typical gwt project, but am using some url rewriting techniques such that urls entered like:

www.mysite.com/johndoe
www.mysite.com/janedoe

all get served by my main entrypoint project.jsp file. This works great when deployed.

When I'm running in hosted mode, it's a total bummer because changing the url in the browser breaks the link with the hosted-mode debugging, such that when I make changes to the source in eclipse and refresh, those changes are not immediately shown. I need to recompile the app and relaunch, and we all know how long that takes.

Is there any way to somehow get the hosted-mode environment to recognize that the same webapp is being served on these different urls, and just reconnect the debugging connection?

We basically get:

http://localhost:8888/myproject.jsp?gwt.codesvr=192.168.1.2:9997

when launching hosted mode, I'd like:

http://localhost:8888/johndoe

to just reconnect to the debugger, if possible.

Thanks

© Stack Overflow or respective owner

Related posts about gwt