Hi

There is a simple solution for this : in your Tiles jsp file where you
want the document displayed, add an IFrame. Then target your link to
this. Any word enabled browser (IE) will then open it as a Word document
within the IFrame

Hermod

-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 1. desember 2004 08:29
Til: [EMAIL PROTECTED]
Emne: Re: Tiles:displaying document with tiles


How many times should I say it? TILES ARE NOT FRAMES! It is only a way
to
share common code in different pages. PAGES NOT FRAMESETS!!!
Uh, sorry for this yell.
Anyway, you cannot display a word document as a tile. If you want to do
it, you surely have to transform it into HTML, but I think it is not the
case, too much complex.
Maybe you could just use frames TOGETHER with Tiles, maybe using the
<html:frame> tag.
Ciao
Antonio Petrelli

rose maria wrote:

>Hi,
>Iam converting an existing frames based WebApp to
>tiles based WebApp.
>I have a requirement where i need to show a word
>document in the browser when the user clicked on a
>link.
>In the old application it was a hard link to the
>document.(<a
>href="../documents/termsConditions.doc>View terms</a>)
>so when the user clicks the link it will dispaly the
>document in the body area(including the menu and
>header frame).
>I tried the same with tiles.
>In the definition i mentioned like the following
>athen it displayed text along with some junk
>charecters in the browser.
>I even tried by mentioning a  a temporary jsp page and
>then redirecting to the document
>I got  the following exception.
>java.lang.IllegalStateException: Response has already
>been
>committed
>        at
>   .........
>   .........
>Can any body suggest a solution to this problem.I
>appreciate your greate help.
>Thanks
>Maria
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to