Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to manage two JSPs in singe JSP

 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we are using struts and in the requirement we need to open half of the page with PDF and remains with text. Is there any possibilities to include both in single page? I can open PDF externally.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
 
Tudor Raneti
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AFAIK you can render anything you want, check out Tiles, jsp:include action vs jsp include directive and s:include vs s:action.
Although i haven't tried it myself there still are frames and you can build custom jsp tags yourself.
 
Tudor Raneti
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the bump but i think this would solve it:
http://www.cs.tut.fi/~jkorpela/html/iframe-pdf.html
it's not struts but... and probably you can do more fun stuff adding some javascript.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic