Monday, May 10, 2010

Unnormal behavior while using native redirect-Methode?

Hi @all...

I'm calling my EntryPoint using the URL http://localhost:8080/testdesk/.

I've implemented the following native Method to redirect to another
page:

static native void redirect(String url)
/*-{
$wnd.location.replace(url);
}-*/;

If an Exception occurs within my Methods, I call the native Method
with the Parameter "./login.jsp" but he tries to open this URL:
http://localhost:8080/testdesk/testdesk/login.jsp

What is wrong with the method?

Regards!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate