File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to manage two JSPs in singe JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to manage two JSPs in singe JSP" Watch "how to manage two JSPs in singe JSP" New topic
Author

how to manage two JSPs in singe JSP

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
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.


Thanks,
Kumar
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

No. It is all or nothing.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Tudor Raneti
Ranch Hand

Joined: Nov 29, 2009
Posts: 145
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

Joined: Nov 29, 2009
Posts: 145
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to manage two JSPs in singe JSP