wood burning stoves*
The moose likes GWT and the fly likes Can I include GWT page inside a JSP page ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Can I include GWT page inside a JSP page ?" Watch "Can I include GWT page inside a JSP page ?" New topic
Author

Can I include GWT page inside a JSP page ?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi.
Can I use the include techniques to include my main GWT's page (like KitchenSink.html) inside a JSP page ? or GWT pages should be standalone ?
Prabhakar Chaganti
author
Ranch Hand

Joined: Nov 30, 2004
Posts: 50
You can include your GWT page inside a JSP. Just create a jsp include that can put out the HTML for the GWT page. Make sure it has the GWT js stuff and the meta information.

thanks
prabhakar


Packt Author Page (http://www.packtpub.com/author_view_profile/id/120)
Samrat Kakustam
Ranch Hand

Joined: May 21, 2009
Posts: 56
Hi Prabhakar,
Can you please explain what should be in the meta-tag? I have been trying a lot. I made a menu using GWT, copied all the files and included the html file in a jsp page. In the browser when I see the source, it is properly included but I dont get anything as output.
I will be very thankful for any help.


SCJP 5.0
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

does the resulting page have the script tag with the js url as src ?
if it does, does the js file reside at the location the script tag is pointing to ?


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: Can I include GWT page inside a JSP page ?
 
Similar Threads
Trying to use non-GWT jar in GWT project
can we use jsp include in javascript
jsp include
include directive
Google Web Toolkit Applications book