This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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: 34671
367
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