This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes GWT and the fly likes GWT question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT question" Watch "GWT question" New topic
Author

GWT question

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello:

This seems the most appropriate place to ask a GWT question. I've just started to use GWT and am planning an application which will have several JSP pages. My question is: do GWT apps typically have one entry point? If so, it seems as though navigating from "page" to page amounts to switching panels in the GWT code. Which means there will be one URL and that a back button would not function properly. Am I on the right track? Thanks.

Eric
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

Having worked with GWT for all of one afternoon, I'd say the answer to your questions is "yes".
One fix may be to have the entry page of your app redirect to a second page that actually displays the app. That way if someone tried to "back" out of the app, they'd get the page that redirects and get dumped right back in the app.


[How To Ask Questions On JavaRanch]
James Wheat
Greenhorn

Joined: Aug 06, 2009
Posts: 1
Working in GWT is basically using AJAX throughout, but you can easily switch between JSP pages as well as use GWT's history framework to change the state of your web applications. Once you have an understanding of how to use GWT history then your web app will come together. Here is a link on GWT history: GWTTutorials.com
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

GWT apps are typically "one page" applications.
hence there is no concept of pages like jsps.


My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GWT question