I made something like that in a servlet:
I have this method in my servlet:
private boolean isDevelopment() {
return ( SystemProperty.environment.value() ==
SystemProperty.Environment.Value.Development );
}
so you can do something like this:
String redirectUrl = /MyApp.html;
if
I've run into the same problem. I'm running in dev mode at
http://127.0.0.1:/mypage.jsp?gwt.codesvr=127.0.0.1:9997 but
GWT.getHostPageBaseURL() returns http://127.0.0.1:/ and so I am
redirected there. Is there any way to detect dev mode and append my
info, or have
A possible workaround is to use GWT.isProdMode() and manually append
the codesvr URL.
HTH,
On Thu, Oct 21, 2010 at 10:17 AM, BrianP brifo...@gmail.com wrote:
I've run into the same problem. I'm running in dev mode at
http://127.0.0.1:/mypage.jsp?gwt.codesvr=127.0.0.1:9997 but
i get more or less the behaviour described in the quoted message (gwt
2.0.4, appengine 1.3.7)
when I return from login the application works but i cannot see what i
send to the console with System.out, i cannot debug,
I suppose this is because of the wrong url http://127.0.0.1:/
the