Re: URL of servlet in PORTLET iframe

"Patrick Huber" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
The url is going to be the same as with every servlet: the url-pattern
from the web.xml -- for example:
http://localhost:8080/theContext/theServlet

I doubt that you can "embed" a pdf document. I'd rather use an iframe
that loads the pdf...


2006/6/22, [email protected]
<[email protected]>:
>
>
>
>
> Hi,
>
>
>
>         I am trying to view a PDF document sent by a servlet in my portlet
> window. So the browser has to popup open/save/cancel window when it
>
> Encounters the PDF. I have a servlet like this
>
>
>
>             <servlet-name>TestAspectServlet</servlet-name>
>
>             <url-pattern>/TestAspectServlet</url-pattern>
>
>
>
> that sends the pdf.
>
>
>
> I also have this tag
>
>
>
> <EMBED SRC="…………….." WIDTH='200' HEIGHT='200' >
>
> </EMBED>
>
>
>
> What will be the URL in this tag ? response.encode(..) doesn't seem to work.
>
>
>
> Thanks,
>
> Mohan
>
>
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.


-- 
"I love deadlines. I like the whooshing sound they make as they fly
by." -- Douglas Adams
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.