logo       

Re: Basic Response redirect Question GWT: msg#02184

GoogleWebToolkit

Subject: Re: Basic Response redirect Question GWT

Hi
 It's must be easier to perform this redirection before the GWT "phase" aka JSP / controller.

 Nevertheless you can access the underlying JS object "location" and URL to perform your job via the Window.location (http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Window.Location.html) object.

HIH

 

On Fri, Jul 31, 2009 at 1:59 AM, Guess What <gangurg@xxxxxxxxx> wrote:

I am a newbie to GWT . This is  an issue which i am running into since
all along I have been working on HTML and JSP .

Lets say I have a scenario , where I have a url /myapp/test.jsp?
oderId= 123
Now my Entry Point class for this test.jsp is say Test.java

onModuleLoad of Test.java
{
    is this Possible .
     if(orderId == null)
       response.rediret("error.jsp")

}

PS: I did figire put how to get orderID from request into on Entry
Point class. Thanks to this group .





--
  We can live without religion and meditation, but we cannot survive without human affection.
--
Dalai Lama

--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise