Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I include GWT page inside a JSP page ?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Samrat Kakustam
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
salvin francis
Bartender
Posts: 1280
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic