• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

how to manage two JSPs in singe JSP

 
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.
 
author & internet detective
Posts: 39343
755
Eclipse IDE VI Editor Java
 
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
Boost this thread!