Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

GWT question

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2702
130
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GWT apps are typically "one page" applications.
hence there is no concept of pages like jsps.
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic