Hi,

my LoginServlet is outside GWT and therefore needs to redirect to the
GWT app after successful login.

I do this with response.sendRedirect ("http://...myApp...";).

However, when in development mode I need to append "?gwt.codesvr...",
which does not work in hosted mode.

So I need to determine, if I'm running in development mode or not.
How can I do this?

Do I really have to use if/then/else statements when dealing with
URLs? What's the simplest way to keep my app running in both modes?

Thank you
Magnus

-- 
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.

Reply via email to