you would use poi-hwpf to create the document http://poi.apache.org/hwpf/index.html
you may want to consider a flash enabled document which comes with forward/backward scroll buttons http://www.scribd.com/doc/7395371/JSP-Servlet-JSTL-Specification populate your webpage src attribute in supplied iframe e.g. <iframe src="somehtml.html" ..> http://www.dyn-web.com/tutorials/iframes/basics.php feel free to ping offline as this is not specific to struts Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 27 Jul 2009 14:41:49 +0200 > From: r...@lsoft.com > To: user@struts.apache.org > Subject: Re: Display Doc or PDF file in JSP > > Paweł Wielgus schrieb: > > Hi Nitesh, > > as far as i know it's impossible with DOC, but pretty easy with PDF, > > just create iframe with source that will point to that pdf file. > > Most browsers on computers where acrobat reader is installed will > > display it as an inline document, > > i don't know if it will work with div only. > > > > It won't work with a div. It can't, because the div source belongs to > the original request whereas an iframe yields a separate request for the > pdf document as a whole, which, as you already wrote, most browsers show > as inline document. > > Robert > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out. http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports