try this (in java):

Window.Location.<blabla>

2010/5/10 malibubu <webmas...@mailball.de>

> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to