File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes how to jump page like RequestDispatcher.forward(...) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "how to jump page like RequestDispatcher.forward(...)" Watch "how to jump page like RequestDispatcher.forward(...)" New topic
Author

how to jump page like RequestDispatcher.forward(...)

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
in traditional servlet, jsp,
jsp set action to servlet, then servlet call requestdispatcher to another jsp. it is very easy to find reference about this.
in GWT,
I spend many time to search online but still no something like this jump page (from one jsp to another jsp through servlet),
all mention is just GWT-RPC, which the return page is still the same as calling page, any method to accomplish jsp(or html) to servlet to another jsp(or html)
using GWT-RPC or GWT in general?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10255
    
    8

GWT is typically a "single" page view where the data is refreshed and not the whole page. To change the data, you should be using GWT-RPC along with GWT History (in case you want to load a page "state")

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
Maneesh Godbole wrote:GWT is typically a "single" page view where the data is refreshed and not the whole page. To change the data, you should be using GWT-RPC along with GWT History (in case you want to load a page "state")


thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to jump page like RequestDispatcher.forward(...)