Re: Showing a PDF inside a JSP

2005-08-05 Thread Jeroen Kransen
I have never worked with PDF, but I hear that XSL-FO can be translated 
into PDF easily. Have you people ever considered keeping the document in 
XSL-FO and then fork it where one path converts it into PDF where you 
need it and the other path converts it into (X)HTML with which you can 
do anything you like in any web-browser?


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



Re: Showing a PDF inside a JSP

2005-08-05 Thread Gareth Evans
This works really well, we have our own reporting application that generates xml, from the interface 
you can generate a pdf on the fly using xsl-fo via a struts action that writes to the response and 
returns null;


The nice thing about using xsl-fo is that you can switch the stylesheet to a gnumeric one and 
generate an excel spreadsheet using the HSSFSerializer


Gareth

Jeroen Kransen wrote:
I have never worked with PDF, but I hear that XSL-FO can be translated 
into PDF easily. Have you people ever considered keeping the document in 
XSL-FO and then fork it where one path converts it into PDF where you 
need it and the other path converts it into (X)HTML with which you can 
do anything you like in any web-browser?


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



--
Gareth Evans

MSoft eSolutions Limited
Technology Centre
Inward Way
Rossmore Business Park
Ellesmere Port
Cheshire
CH65 3EN

--
Tel:+44 (0)870 0100 704
Fax:+44 (0)870 9010 705
E-Mail: [EMAIL PROTECTED]
Web:www.msoft.co.uk

--
Terms:
Please note that any prices quoted within this e-mail are subject to VAT.
All program details and code described in this e-mail are subject to
copyright © of MSoft eSolutions Limited and remain the intellectual
property of MSoft eSolutions Limited.
Any proposal or pricing information contained within this e-mail are
subject to MSoft eSolutions' Terms and Conditions
--
Disclaimer:
This message is intended only for use of the addressee. If this message
was sent to you in error, please notify the sender and delete this
message. MSoft eSolutions Limited cannot accept responsibility for viruses,
so please scan attachments. Views expressed in this message do not
necessarily reflect those of MSoft eSolutions Limited who will not
necessarily be bound by its contents.


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



RE: 1.3.x in production (was Re: Showing a PDF inside a JSP)

2005-08-04 Thread Marco Mistroni
Aha!
StrutsWS 1.3 that I have uploaded in sourceforge cvs  (strutsws project)
was 
In fact using Struts 1.3 with customization of RequestProcessor

Am I the winner :)) ?

Regards
marco

-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] 
Sent: 04 August 2005 04:12
To: Struts Users Mailing List
Subject: Re: 1.3.x in production (was Re: Showing a PDF inside a JSP)

Well, now I'm going to have to go update my blog to 1.3 just to beat you

both :)

(Nah, doesn't even REMOTELY count as a production app, I know! :) )

Frank

Wendy Smoak wrote:
 From: Joe Germuska [EMAIL PROTECTED]
 
 ... my most recent app (which may make history this weekend as the 
 first Struts 1.3.x based webapp to go into production?  ;-) )
 
 
 You'll beat me by a few days, then. ;)  I have one out in test that I 
 had originally planned to leave at 1.2.7... but what fun would that
be?
 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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


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



Re: Showing a PDF inside a JSP

2005-08-04 Thread Woodchuck
hihi,

i've also worked quite a bit with generating PDF documents (iText,
JasperReports via iReport) so i know Acrobat pains too.  (yes Acrobat
is very moody, it works one day then not the next, and only for ppl it
likes) :)

i went to that website:
http://www.sos.state.co.us/biz

but couldn't find a working example of a PDF document displayed
embedded *within* an html page.  that is, the Acrobat plugin window
occupying a sub portion of the entire displayed html page.  is this not
what the original post was about?  or did i simply not find the working
example on the website?  (i went to the File a document section and
brought up the PDFs on the subsequent page but they all 'took over' the
entire browser window)

it would be awesome to see a PDF embedded in an html page without using
frames.


woodchuck



--- Frank W. Zammetti [EMAIL PROTECTED] wrote:

 Cool, thanks!
 
 At work I actually have a rather lengthy document listing all the 
 Acrobat issues I found along the way, and the solutions to it...
 quite a 
 few... I'm going to add this to it as a miscellaneous note, just so I
 
 don't forget for next time (and, oh, I *know* there's gonna be a next
 time!)
 
 Frank
 
 Gary VanMatre wrote:
 Really? You found that to be necassery? What specific problem does
 it 
 solve (which of the MANY Acrobat problems I mean? :) ). 
 
  
   
  I belive that it had to do with the upgrade from the 5.x to 6.0.2
 reader com controls.  Version 6.0.2 would not run as an inprocess
 server.  It wanted to fire up an instance of reader instead of
 imbeding in the document.  The context type was the ticket.  That's
 about I'll I know about details.  It's been about a year ago.  I sat
 next to the guy working on it (Mr. Bee).
  
  Gary 
  
  
 I ask because I spent probably a month dealing with PDF generation 
 issues and I just last week managed to get everything working for 
 everyone (it was one of those it works for user A but not B, oh
 wait, 
 it's tommorrow and now user B doesn't work but A does... and their
 PCs 
 appear to be identical in every way). I never tried what you
 suggest, 
 and it looks to be working perfectly now, so as someone who has
 fought 
 the Acrobat battle too, I'm curious. 
 
 Frank 
 
 Gary VanMatre wrote: 
 
 Excellent! I wouldn't have thought that would work, based on how 
 screwed up the Acrobat plug-in generally is, but that's
 excellent! 
 
 
 
 Well, I think there was better than a week spent one line of code,
 actually 
 
 one char '\r'. You are not alone 
 
 response.setContentType(application/pdf\r); 
 
 Gary 
 
 
 
 Frank 
 
 [EMAIL PROTECTED] wrote: 
 
 
 I've also seen it done using the html embed tag. We used itext
 to deliver a 
 
 fillable pdf. You can see it action here
 (http://www.sos.state.co.us/biz). 
 
 
 type=application/pdf  
 
 public ActionForward loadBytesIntoStream( 
 ActionMapping mapping, 
 ActionForm form, 
 HttpServletRequest request, 
 HttpServletResponse response, 
 String filename, 
 byte[] bytes) 
 throws Exception { 
 
 response.setContentType(application/pdf\r); 
 response.setHeader( 
 Content-disposition, 
 inline; filename= + justFilename); 
 response.setContentLength(bytes.length); 
 response.setHeader(Expires, 0); 
 response.setHeader( 
 Cache-Control, 
 must-revalidate, post-check=0, pre-check=0); 
 response.setHeader(Pragma, public); 
 ServletOutputStream buff = response.getOutputStream(); 
 buff.write(bytes, 0, bytes.length); 
 bytes = null; 
 buff.flush(); 
 return null; 
 } 
 
 Gary 
 
 -- Original message -- 
 
 
 
 
 iText just generates the PDF on the server-side, the display
 issue on 
 the browser would still be the same because you are returning a
 PDF 
 stream back (or redirecting to a temp file, either way) and the
 browser 
 recognizes that and passes it to the plug-in for display (a
 plug-in 
 which, by the way, is perhaps the buggiest piece of garbage
 ever foisted 
 on an unsuspecting public!) 
 
 Frank 
 
 ziggler wrote: 
 
 
 
 you can use itext to realize? 
 
 2005/8/4, Frank W. Zammetti : 
 
 
 
 
 Hi Rafael, 
 
 The only way I can think of to actually embed a PDF, or at
 least to 
 give that appearance, is to use iFrames. 
 
 The Acrobat plug-in takes over the entire window it is shown
 in, which 
 when frames aren't involved is the entire client area of the
 browser. 
 
 So, using frames should, in theory, work (I've never actually
 tried to 
 do this, so there could be hidden gotchas). An iFrame would
 allow you 
 more or less to seem to embed the PDF. 
 
 I'd be willing to bet there aren't any other ways to do it
 that aren't 
 way more trouble than they're woth, if there are any at
 all... 
 
 ...now that THAT gauntlet is thrown down, let the flood of
 messages 
 correcting me begin :) 
 
 Frank 
 
 Rafael Taboada wrote: 
 
 
 
 
 Hi Folks, I know my doubt is out Struts topic but I want to
 use ur 
 xperiencie in my problem. 
 
 I want to show a report in PDF file inside a JSP, inside a
 table for 
 

Re: Showing a PDF inside a JSP

2005-08-04 Thread Gary VanMatre
 hihi,
 
 i've also worked quite a bit with generating PDF documents (iText,
 JasperReports via iReport) so i know Acrobat pains too.  (yes Acrobat
 is very moody, it works one day then not the next, and only for ppl it
 likes) :)
 
 i went to that website:
 http://www.sos.state.co.us/biz
 
 but couldn't find a working example of a PDF document displayed
 embedded *within* an html page.  that is, the Acrobat plugin window
 occupying a sub portion of the entire displayed html page.  is this not
 what the original post was about?  or did i simply not find the working
 example on the website?  (i went to the File a document section and
 brought up the PDFs on the subsequent page but they all 'took over' the
 entire browser window)
 
 it would be awesome to see a PDF embedded in an html page without using
 frames.
 

Try a reservation of name filing.  It is a short one that is open to the 
public.  You are able to view the statement before paying for it (uses the 
embedeed pdf).  

Gary

 
 woodchuck
 



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



Re: Showing a PDF inside a JSP

2005-08-04 Thread Woodchuck
--- Gary VanMatre [EMAIL PROTECTED] wrote:
 Try a reservation of name filing.  It is a short one that is open to
 the public.  You are able to view the statement before paying for it
 (uses the embedeed pdf).  
 

Gary,

very nice!!  thanks for this great tip, i'm sure it will come in handy
in the future.  :)

it didn't work in FireFox, but it did in IE.  (you probably know this
already)

best regards,
woodchuck



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





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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



Showing a PDF inside a JSP

2005-08-03 Thread Rafael Taboada
Hi Folks, I know my doubt is out Struts topic but I want to use ur 
xperiencie in my problem.

I want to show a report in PDF file inside a JSP, inside a table for 
example. I'm surfing on the web and all sites when try to show PDF they link 
to this file and the PDF is showed in the entire window if the user has 
acrobat in his PC.
 Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have to 
show a form in order to generate the PDF, and when th user click on GENERATE 
REPORT button, it makes a PDF file and I want to show this PDF in the same 
page...
 Do u know any place where I can find information for my doubt?.
 Any help would be appreciated.
 Thanks in advance

-- 
Rafael Taboada
Software Engineer

Cell : +511-97753290

No creo en el destino pues no me gusta tener la idea de controlar mi vida


Re: Showing a PDF inside a JSP

2005-08-03 Thread Frank W. Zammetti

Hi Rafael,

The only way I can think of to actually embed a PDF, or at least to 
give that appearance, is to use iFrames.


The Acrobat plug-in takes over the entire window it is shown in, which 
when frames aren't involved is the entire client area of the browser.


So, using frames should, in theory, work (I've never actually tried to 
do this, so there could be hidden gotchas).  An iFrame would allow you 
more or less to seem to embed the PDF.


I'd be willing to bet there aren't any other ways to do it that aren't 
way more trouble than they're woth, if there are any at all...


...now that THAT gauntlet is thrown down, let the flood of messages 
correcting me begin :)


Frank

Rafael Taboada wrote:
Hi Folks, I know my doubt is out Struts topic but I want to use ur 
xperiencie in my problem.


I want to show a report in PDF file inside a JSP, inside a table for 
example. I'm surfing on the web and all sites when try to show PDF they link 
to this file and the PDF is showed in the entire window if the user has 
acrobat in his PC.
 Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have to 
show a form in order to generate the PDF, and when th user click on GENERATE 
REPORT button, it makes a PDF file and I want to show this PDF in the same 
page...

 Do u know any place where I can find information for my doubt?.
 Any help would be appreciated.
 Thanks in advance



--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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



Re: Showing a PDF inside a JSP

2005-08-03 Thread ziggler
you can use itext  to realize?

2005/8/4, Frank W. Zammetti [EMAIL PROTECTED]:
 Hi Rafael,
 
 The only way I can think of to actually embed a PDF, or at least to
 give that appearance, is to use iFrames.
 
 The Acrobat plug-in takes over the entire window it is shown in, which
 when frames aren't involved is the entire client area of the browser.
 
 So, using frames should, in theory, work (I've never actually tried to
 do this, so there could be hidden gotchas).  An iFrame would allow you
 more or less to seem to embed the PDF.
 
 I'd be willing to bet there aren't any other ways to do it that aren't
 way more trouble than they're woth, if there are any at all...
 
 ...now that THAT gauntlet is thrown down, let the flood of messages
 correcting me begin :)
 
 Frank
 
 Rafael Taboada wrote:
  Hi Folks, I know my doubt is out Struts topic but I want to use ur
  xperiencie in my problem.
 
  I want to show a report in PDF file inside a JSP, inside a table for
  example. I'm surfing on the web and all sites when try to show PDF they link
  to this file and the PDF is showed in the entire window if the user has
  acrobat in his PC.
   Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have to
  show a form in order to generate the PDF, and when th user click on GENERATE
  REPORT button, it makes a PDF file and I want to show this PDF in the same
  page...
   Do u know any place where I can find information for my doubt?.
   Any help would be appreciated.
   Thanks in advance
 
 
 --
 Frank W. Zammetti
 Founder and Chief Software Architect
 Omnytex Technologies
 http://www.omnytex.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Fasten your seat belt. Here we go... 
笑口常开,笑天下可笑之人!


Re: Showing a PDF inside a JSP

2005-08-03 Thread Frank W. Zammetti
iText just generates the PDF on the server-side, the display issue on
the browser would still be the same because you are returning a PDF
stream back (or redirecting to a temp file, either way) and the browser
recognizes that and passes it to the plug-in for display (a plug-in
which, by the way, is perhaps the buggiest piece of garbage ever foisted
on an unsuspecting public!)

Frank

ziggler wrote:
 you can use itext  to realize?
 
 2005/8/4, Frank W. Zammetti [EMAIL PROTECTED]:
 
Hi Rafael,

The only way I can think of to actually embed a PDF, or at least to
give that appearance, is to use iFrames.

The Acrobat plug-in takes over the entire window it is shown in, which
when frames aren't involved is the entire client area of the browser.

So, using frames should, in theory, work (I've never actually tried to
do this, so there could be hidden gotchas).  An iFrame would allow you
more or less to seem to embed the PDF.

I'd be willing to bet there aren't any other ways to do it that aren't
way more trouble than they're woth, if there are any at all...

...now that THAT gauntlet is thrown down, let the flood of messages
correcting me begin :)

Frank

Rafael Taboada wrote:

Hi Folks, I know my doubt is out Struts topic but I want to use ur
xperiencie in my problem.

I want to show a report in PDF file inside a JSP, inside a table for
example. I'm surfing on the web and all sites when try to show PDF they link
to this file and the PDF is showed in the entire window if the user has
acrobat in his PC.
 Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have to
show a form in order to generate the PDF, and when th user click on GENERATE
REPORT button, it makes a PDF file and I want to show this PDF in the same
page...
 Do u know any place where I can find information for my doubt?.
 Any help would be appreciated.
 Thanks in advance


--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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


 
 
 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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



Re: Showing a PDF inside a JSP

2005-08-03 Thread gvanmatre
I've also seen it done using the html embed tag.  We used itext to deliver a 
fillable pdf.   You can see it action here (http://www.sos.state.co.us/biz).  

EMBED width=%=width% height=%=height% border=2 src=%=src% 
type=application/pdf 

 public ActionForward loadBytesIntoStream(
  ActionMapping mapping,
  ActionForm form,
  HttpServletRequest request,
  HttpServletResponse response,
  String filename,
  byte[] bytes)
  throws Exception {

  response.setContentType(application/pdf\r);
  response.setHeader(
   Content-disposition,
   inline; filename= + justFilename);
  response.setContentLength(bytes.length);
  response.setHeader(Expires, 0);
  response.setHeader(
   Cache-Control,
   must-revalidate, post-check=0, pre-check=0);
  response.setHeader(Pragma, public);
  ServletOutputStream buff = response.getOutputStream();
  buff.write(bytes, 0, bytes.length);
  bytes = null;
  buff.flush();
  return null;
 }

Gary

-- Original message -- 

 iText just generates the PDF on the server-side, the display issue on 
 the browser would still be the same because you are returning a PDF 
 stream back (or redirecting to a temp file, either way) and the browser 
 recognizes that and passes it to the plug-in for display (a plug-in 
 which, by the way, is perhaps the buggiest piece of garbage ever foisted 
 on an unsuspecting public!) 
 
 Frank 
 
 ziggler wrote: 
  you can use itext to realize? 
  
  2005/8/4, Frank W. Zammetti : 
  
 Hi Rafael, 
  
 The only way I can think of to actually embed a PDF, or at least to 
 give that appearance, is to use iFrames. 
  
 The Acrobat plug-in takes over the entire window it is shown in, which 
 when frames aren't involved is the entire client area of the browser. 
  
 So, using frames should, in theory, work (I've never actually tried to 
 do this, so there could be hidden gotchas). An iFrame would allow you 
 more or less to seem to embed the PDF. 
  
 I'd be willing to bet there aren't any other ways to do it that aren't 
 way more trouble than they're woth, if there are any at all... 
  
 ...now that THAT gauntlet is thrown down, let the flood of messages 
 correcting me begin :) 
  
 Frank 
  
 Rafael Taboada wrote: 
  
 Hi Folks, I know my doubt is out Struts topic but I want to use ur 
 xperiencie in my problem. 
  
 I want to show a report in PDF file inside a JSP, inside a table for 
 example. I'm surfing on the web and all sites when try to show PDF they 
 link 
 to this file and the PDF is showed in the entire window if the user has 
 acrobat in his PC. 
  Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have 
  to 
 show a form in order to generate the PDF, and when th user click on 
 GENERATE 
 REPORT button, it makes a PDF file and I want to show this PDF in the same 
 page... 
  Do u know any place where I can find information for my doubt?. 
  Any help would be appreciated. 
  Thanks in advance 
  
  
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 Omnytex Technologies 
 http://www.omnytex.com 
  
  
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
  
  
  
  
  
 
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 Omnytex Technologies 
 http://www.omnytex.com 
 
 
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
 

Re: Showing a PDF inside a JSP

2005-08-03 Thread Joe Germuska

At 9:44 PM -0400 8/3/05, Frank W. Zammetti wrote:

Hi Rafael,

The only way I can think of to actually embed a PDF, or at least 
to give that appearance, is to use iFrames.


It works like a charm; I'm using the technique in a couple of places 
on my most recent app (which may make history this weekend as the 
first Struts 1.3.x based webapp to go into production?  ;-) )


Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex


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



Re: Showing a PDF inside a JSP

2005-08-03 Thread Frank W. Zammetti
Excellent!  I wouldn't have thought that would work, based on how 
screwed up the Acrobat plug-in generally is, but that's excellent!


Frank

[EMAIL PROTECTED] wrote:
I've also seen it done using the html embed tag.  We used itext to deliver a fillable pdf.   You can see it action here (http://www.sos.state.co.us/biz).  


EMBED width=%=width% height=%=height% border=2 src=%=src% 
type=application/pdf 

 public ActionForward loadBytesIntoStream(
  ActionMapping mapping,
  ActionForm form,
  HttpServletRequest request,
  HttpServletResponse response,
  String filename,
  byte[] bytes)
  throws Exception {

  response.setContentType(application/pdf\r);
  response.setHeader(
   Content-disposition,
   inline; filename= + justFilename);
  response.setContentLength(bytes.length);
  response.setHeader(Expires, 0);
  response.setHeader(
   Cache-Control,
   must-revalidate, post-check=0, pre-check=0);
  response.setHeader(Pragma, public);
  ServletOutputStream buff = response.getOutputStream();
  buff.write(bytes, 0, bytes.length);
  bytes = null;
  buff.flush();
  return null;
 }

Gary

-- Original message -- 



iText just generates the PDF on the server-side, the display issue on 
the browser would still be the same because you are returning a PDF 
stream back (or redirecting to a temp file, either way) and the browser 
recognizes that and passes it to the plug-in for display (a plug-in 
which, by the way, is perhaps the buggiest piece of garbage ever foisted 
on an unsuspecting public!) 

Frank 

ziggler wrote: 

you can use itext to realize? 

2005/8/4, Frank W. Zammetti : 



Hi Rafael, 

The only way I can think of to actually embed a PDF, or at least to 
give that appearance, is to use iFrames. 

The Acrobat plug-in takes over the entire window it is shown in, which 
when frames aren't involved is the entire client area of the browser. 

So, using frames should, in theory, work (I've never actually tried to 
do this, so there could be hidden gotchas). An iFrame would allow you 
more or less to seem to embed the PDF. 

I'd be willing to bet there aren't any other ways to do it that aren't 
way more trouble than they're woth, if there are any at all... 

...now that THAT gauntlet is thrown down, let the flood of messages 
correcting me begin :) 

Frank 

Rafael Taboada wrote: 



Hi Folks, I know my doubt is out Struts topic but I want to use ur 
xperiencie in my problem. 

I want to show a report in PDF file inside a JSP, inside a table for 
example. I'm surfing on the web and all sites when try to show PDF they link 
to this file and the PDF is showed in the entire window if the user has 
acrobat in his PC. 
Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have to 
show a form in order to generate the PDF, and when th user click on GENERATE 
REPORT button, it makes a PDF file and I want to show this PDF in the same 
page... 
Do u know any place where I can find information for my doubt?. 
Any help would be appreciated. 
Thanks in advance 



--
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com 



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








--
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com 



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



--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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



Re: Showing a PDF inside a JSP

2005-08-03 Thread Gary VanMatre

 Excellent! I wouldn't have thought that would work, based on how 
 screwed up the Acrobat plug-in generally is, but that's excellent! 
 

Well, I think there was better than a week spent one line of code, actually one 
char '\r'.  You are not alone

response.setContentType(application/pdf\r);

Gary

 Frank 
 
 [EMAIL PROTECTED] wrote: 
  I've also seen it done using the html embed tag. We used itext to deliver a 
 fillable pdf. You can see it action here (http://www.sos.state.co.us/biz). 
  
   type=application/pdf  
  
  public ActionForward loadBytesIntoStream( 
  ActionMapping mapping, 
  ActionForm form, 
  HttpServletRequest request, 
  HttpServletResponse response, 
  String filename, 
  byte[] bytes) 
  throws Exception { 
  
  response.setContentType(application/pdf\r); 
  response.setHeader( 
  Content-disposition, 
  inline; filename= + justFilename); 
  response.setContentLength(bytes.length); 
  response.setHeader(Expires, 0); 
  response.setHeader( 
  Cache-Control, 
  must-revalidate, post-check=0, pre-check=0); 
  response.setHeader(Pragma, public); 
  ServletOutputStream buff = response.getOutputStream(); 
  buff.write(bytes, 0, bytes.length); 
  bytes = null; 
  buff.flush(); 
  return null; 
  } 
  
  Gary 
  
  -- Original message -- 
  
  
 iText just generates the PDF on the server-side, the display issue on 
 the browser would still be the same because you are returning a PDF 
 stream back (or redirecting to a temp file, either way) and the browser 
 recognizes that and passes it to the plug-in for display (a plug-in 
 which, by the way, is perhaps the buggiest piece of garbage ever foisted 
 on an unsuspecting public!) 
  
 Frank 
  
 ziggler wrote: 
  
 you can use itext to realize? 
  
 2005/8/4, Frank W. Zammetti : 
  
  
 Hi Rafael, 
  
 The only way I can think of to actually embed a PDF, or at least to 
 give that appearance, is to use iFrames. 
  
 The Acrobat plug-in takes over the entire window it is shown in, which 
 when frames aren't involved is the entire client area of the browser. 
  
 So, using frames should, in theory, work (I've never actually tried to 
 do this, so there could be hidden gotchas). An iFrame would allow you 
 more or less to seem to embed the PDF. 
  
 I'd be willing to bet there aren't any other ways to do it that aren't 
 way more trouble than they're woth, if there are any at all... 
  
 ...now that THAT gauntlet is thrown down, let the flood of messages 
 correcting me begin :) 
  
 Frank 
  
 Rafael Taboada wrote: 
  
  
 Hi Folks, I know my doubt is out Struts topic but I want to use ur 
 xperiencie in my problem. 
  
 I want to show a report in PDF file inside a JSP, inside a table for 
 example. I'm surfing on the web and all sites when try to show PDF they 
 link 
 to this file and the PDF is showed in the entire window if the user has 
 acrobat in his PC. 
 Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have 
 to 
 show a form in order to generate the PDF, and when th user click on 
 GENERATE 
 REPORT button, it makes a PDF file and I want to show this PDF in the 
 same 
 page... 
 Do u know any place where I can find information for my doubt?. 
 Any help would be appreciated. 
 Thanks in advance 
  
  
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 Omnytex Technologies 
 http://www.omnytex.com 
  
  
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
  
  
  
  
  
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 Omnytex Technologies 
 http://www.omnytex.com 
  
  
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
  
 
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 Omnytex Technologies 
 http://www.omnytex.com 
 
 
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
 

1.3.x in production (was Re: Showing a PDF inside a JSP)

2005-08-03 Thread Wendy Smoak

From: Joe Germuska [EMAIL PROTECTED]

... my most recent app (which may make history this weekend as the first 
Struts 1.3.x based webapp to go into production?  ;-) )


You'll beat me by a few days, then. ;)  I have one out in test that I had 
originally planned to leave at 1.2.7... but what fun would that be?


--
Wendy Smoak 




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



Re: Showing a PDF inside a JSP

2005-08-03 Thread Frank W. Zammetti
Really?  You found that to be necassery?  What specific problem does it 
solve (which of the MANY Acrobat problems I mean? :) ).


I ask because I spent probably a month dealing with PDF generation 
issues and I just last week managed to get everything working for 
everyone (it was one of those it works for user A but not B, oh wait, 
it's tommorrow and now user B doesn't work but A does... and their PCs 
appear to be identical in every way).  I never tried what you suggest, 
and it looks to be working perfectly now, so as someone who has fought 
the Acrobat battle too, I'm curious.


Frank

Gary VanMatre wrote:
Excellent! I wouldn't have thought that would work, based on how 
screwed up the Acrobat plug-in generally is, but that's excellent! 




Well, I think there was better than a week spent one line of code, actually one 
char '\r'.  You are not alone

response.setContentType(application/pdf\r);

Gary


Frank 

[EMAIL PROTECTED] wrote: 

I've also seen it done using the html embed tag. We used itext to deliver a 


fillable pdf. You can see it action here (http://www.sos.state.co.us/biz). 

type=application/pdf  


public ActionForward loadBytesIntoStream( 
ActionMapping mapping, 
ActionForm form, 
HttpServletRequest request, 
HttpServletResponse response, 
String filename, 
byte[] bytes) 
throws Exception { 

response.setContentType(application/pdf\r); 
response.setHeader( 
Content-disposition, 
inline; filename= + justFilename); 
response.setContentLength(bytes.length); 
response.setHeader(Expires, 0); 
response.setHeader( 
Cache-Control, 
must-revalidate, post-check=0, pre-check=0); 
response.setHeader(Pragma, public); 
ServletOutputStream buff = response.getOutputStream(); 
buff.write(bytes, 0, bytes.length); 
bytes = null; 
buff.flush(); 
return null; 
} 

Gary 

-- Original message -- 




iText just generates the PDF on the server-side, the display issue on 
the browser would still be the same because you are returning a PDF 
stream back (or redirecting to a temp file, either way) and the browser 
recognizes that and passes it to the plug-in for display (a plug-in 
which, by the way, is perhaps the buggiest piece of garbage ever foisted 
on an unsuspecting public!) 

Frank 

ziggler wrote: 



you can use itext to realize? 

2005/8/4, Frank W. Zammetti : 




Hi Rafael, 

The only way I can think of to actually embed a PDF, or at least to 
give that appearance, is to use iFrames. 

The Acrobat plug-in takes over the entire window it is shown in, which 
when frames aren't involved is the entire client area of the browser. 

So, using frames should, in theory, work (I've never actually tried to 
do this, so there could be hidden gotchas). An iFrame would allow you 
more or less to seem to embed the PDF. 

I'd be willing to bet there aren't any other ways to do it that aren't 
way more trouble than they're woth, if there are any at all... 

...now that THAT gauntlet is thrown down, let the flood of messages 
correcting me begin :) 

Frank 

Rafael Taboada wrote: 




Hi Folks, I know my doubt is out Struts topic but I want to use ur 
xperiencie in my problem. 

I want to show a report in PDF file inside a JSP, inside a table for 
example. I'm surfing on the web and all sites when try to show PDF they 


link 

to this file and the PDF is showed in the entire window if the user has 
acrobat in his PC. 
Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have to 
show a form in order to generate the PDF, and when th user click on 


GENERATE 

REPORT button, it makes a PDF file and I want to show this PDF in the same 
page... 
Do u know any place where I can find information for my doubt?. 
Any help would be appreciated. 
Thanks in advance 



--
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com 



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








--
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com 



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



--
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com 



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



--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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



Re: 1.3.x in production (was Re: Showing a PDF inside a JSP)

2005-08-03 Thread Frank W. Zammetti
Well, now I'm going to have to go update my blog to 1.3 just to beat you 
both :)


(Nah, doesn't even REMOTELY count as a production app, I know! :) )

Frank

Wendy Smoak wrote:

From: Joe Germuska [EMAIL PROTECTED]

... my most recent app (which may make history this weekend as the 
first Struts 1.3.x based webapp to go into production?  ;-) )



You'll beat me by a few days, then. ;)  I have one out in test that I 
had originally planned to leave at 1.2.7... but what fun would that be?




--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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



Re: Showing a PDF inside a JSP

2005-08-03 Thread Gary VanMatre

 Really? You found that to be necassery? What specific problem does it 
 solve (which of the MANY Acrobat problems I mean? :) ). 

 
I belive that it had to do with the upgrade from the 5.x to 6.0.2 reader com 
controls.  Version 6.0.2 would not run as an inprocess server.  It wanted to 
fire up an instance of reader instead of imbeding in the document.  The context 
type was the ticket.  That's about I'll I know about details.  It's been about 
a year ago.  I sat next to the guy working on it (Mr. Bee).

Gary 

 I ask because I spent probably a month dealing with PDF generation 
 issues and I just last week managed to get everything working for 
 everyone (it was one of those it works for user A but not B, oh wait, 
 it's tommorrow and now user B doesn't work but A does... and their PCs 
 appear to be identical in every way). I never tried what you suggest, 
 and it looks to be working perfectly now, so as someone who has fought 
 the Acrobat battle too, I'm curious. 
 
 Frank 
 
 Gary VanMatre wrote: 
 Excellent! I wouldn't have thought that would work, based on how 
 screwed up the Acrobat plug-in generally is, but that's excellent! 
  
  
  
  Well, I think there was better than a week spent one line of code, actually 
 one char '\r'. You are not alone 
  
  response.setContentType(application/pdf\r); 
  
  Gary 
  
  
 Frank 
  
 [EMAIL PROTECTED] wrote: 
  
 I've also seen it done using the html embed tag. We used itext to deliver 
 a 
  
 fillable pdf. You can see it action here (http://www.sos.state.co.us/biz). 
  
 type=application/pdf  
  
 public ActionForward loadBytesIntoStream( 
 ActionMapping mapping, 
 ActionForm form, 
 HttpServletRequest request, 
 HttpServletResponse response, 
 String filename, 
 byte[] bytes) 
 throws Exception { 
  
 response.setContentType(application/pdf\r); 
 response.setHeader( 
 Content-disposition, 
 inline; filename= + justFilename); 
 response.setContentLength(bytes.length); 
 response.setHeader(Expires, 0); 
 response.setHeader( 
 Cache-Control, 
 must-revalidate, post-check=0, pre-check=0); 
 response.setHeader(Pragma, public); 
 ServletOutputStream buff = response.getOutputStream(); 
 buff.write(bytes, 0, bytes.length); 
 bytes = null; 
 buff.flush(); 
 return null; 
 } 
  
 Gary 
  
 -- Original message -- 
  
  
  
 iText just generates the PDF on the server-side, the display issue on 
 the browser would still be the same because you are returning a PDF 
 stream back (or redirecting to a temp file, either way) and the browser 
 recognizes that and passes it to the plug-in for display (a plug-in 
 which, by the way, is perhaps the buggiest piece of garbage ever foisted 
 on an unsuspecting public!) 
  
 Frank 
  
 ziggler wrote: 
  
  
 you can use itext to realize? 
  
 2005/8/4, Frank W. Zammetti : 
  
  
  
 Hi Rafael, 
  
 The only way I can think of to actually embed a PDF, or at least to 
 give that appearance, is to use iFrames. 
  
 The Acrobat plug-in takes over the entire window it is shown in, which 
 when frames aren't involved is the entire client area of the browser. 
  
 So, using frames should, in theory, work (I've never actually tried to 
 do this, so there could be hidden gotchas). An iFrame would allow you 
 more or less to seem to embed the PDF. 
  
 I'd be willing to bet there aren't any other ways to do it that aren't 
 way more trouble than they're woth, if there are any at all... 
  
 ...now that THAT gauntlet is thrown down, let the flood of messages 
 correcting me begin :) 
  
 Frank 
  
 Rafael Taboada wrote: 
  
  
  
 Hi Folks, I know my doubt is out Struts topic but I want to use ur 
 xperiencie in my problem. 
  
 I want to show a report in PDF file inside a JSP, inside a table for 
 example. I'm surfing on the web and all sites when try to show PDF 
 they 
  
 link 
  
 to this file and the PDF is showed in the entire window if the user 
 has 
 acrobat in his PC. 
 Is it possible to show the PDF but embed in JSP or HTML?? I mean, I 
 have 
 to 
 show a form in order to generate the PDF, and when th user click on 
  
 GENERATE 
  
 REPORT button, it makes a PDF file and I want to show this PDF in the 
 same 
 page... 
 Do u know any place where I can find information for my doubt?. 
 Any help would be appreciated. 
 Thanks in advance 
  
  
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 Omnytex Technologies 
 http://www.omnytex.com 
  
  
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
  
  
  
  
  
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 Omnytex Technologies 
 http://www.omnytex.com 
  
  
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
  
  
 -- 
 Frank W. Zammetti 
 Founder and Chief Software Architect 
 

Re: Showing a PDF inside a JSP

2005-08-03 Thread Frank W. Zammetti

Cool, thanks!

At work I actually have a rather lengthy document listing all the 
Acrobat issues I found along the way, and the solutions to it... quite a 
few... I'm going to add this to it as a miscellaneous note, just so I 
don't forget for next time (and, oh, I *know* there's gonna be a next time!)


Frank

Gary VanMatre wrote:
Really? You found that to be necassery? What specific problem does it 
solve (which of the MANY Acrobat problems I mean? :) ). 



 
I belive that it had to do with the upgrade from the 5.x to 6.0.2 reader com controls.  Version 6.0.2 would not run as an inprocess server.  It wanted to fire up an instance of reader instead of imbeding in the document.  The context type was the ticket.  That's about I'll I know about details.  It's been about a year ago.  I sat next to the guy working on it (Mr. Bee).


Gary 



I ask because I spent probably a month dealing with PDF generation 
issues and I just last week managed to get everything working for 
everyone (it was one of those it works for user A but not B, oh wait, 
it's tommorrow and now user B doesn't work but A does... and their PCs 
appear to be identical in every way). I never tried what you suggest, 
and it looks to be working perfectly now, so as someone who has fought 
the Acrobat battle too, I'm curious. 

Frank 

Gary VanMatre wrote: 

Excellent! I wouldn't have thought that would work, based on how 
screwed up the Acrobat plug-in generally is, but that's excellent! 




Well, I think there was better than a week spent one line of code, actually 


one char '\r'. You are not alone 

response.setContentType(application/pdf\r); 

Gary 




Frank 

[EMAIL PROTECTED] wrote: 



I've also seen it done using the html embed tag. We used itext to deliver a 


fillable pdf. You can see it action here (http://www.sos.state.co.us/biz). 



type=application/pdf  


public ActionForward loadBytesIntoStream( 
ActionMapping mapping, 
ActionForm form, 
HttpServletRequest request, 
HttpServletResponse response, 
String filename, 
byte[] bytes) 
throws Exception { 

response.setContentType(application/pdf\r); 
response.setHeader( 
Content-disposition, 
inline; filename= + justFilename); 
response.setContentLength(bytes.length); 
response.setHeader(Expires, 0); 
response.setHeader( 
Cache-Control, 
must-revalidate, post-check=0, pre-check=0); 
response.setHeader(Pragma, public); 
ServletOutputStream buff = response.getOutputStream(); 
buff.write(bytes, 0, bytes.length); 
bytes = null; 
buff.flush(); 
return null; 
} 

Gary 

-- Original message -- 





iText just generates the PDF on the server-side, the display issue on 
the browser would still be the same because you are returning a PDF 
stream back (or redirecting to a temp file, either way) and the browser 
recognizes that and passes it to the plug-in for display (a plug-in 
which, by the way, is perhaps the buggiest piece of garbage ever foisted 
on an unsuspecting public!) 

Frank 

ziggler wrote: 




you can use itext to realize? 

2005/8/4, Frank W. Zammetti : 





Hi Rafael, 

The only way I can think of to actually embed a PDF, or at least to 
give that appearance, is to use iFrames. 

The Acrobat plug-in takes over the entire window it is shown in, which 
when frames aren't involved is the entire client area of the browser. 

So, using frames should, in theory, work (I've never actually tried to 
do this, so there could be hidden gotchas). An iFrame would allow you 
more or less to seem to embed the PDF. 

I'd be willing to bet there aren't any other ways to do it that aren't 
way more trouble than they're woth, if there are any at all... 

...now that THAT gauntlet is thrown down, let the flood of messages 
correcting me begin :) 

Frank 

Rafael Taboada wrote: 





Hi Folks, I know my doubt is out Struts topic but I want to use ur 
xperiencie in my problem. 

I want to show a report in PDF file inside a JSP, inside a table for 
example. I'm surfing on the web and all sites when try to show PDF they 


link 



to this file and the PDF is showed in the entire window if the user has 
acrobat in his PC. 
Is it possible to show the PDF but embed in JSP or HTML?? I mean, I have 


to 

show a form in order to generate the PDF, and when th user click on 


GENERATE 



REPORT button, it makes a PDF file and I want to show this PDF in the 


same 

page... 
Do u know any place where I can find information for my doubt?. 
Any help would be appreciated. 
Thanks in advance 



--
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com 



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








--
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com 



- 
To unsubscribe, e-mail: 

RE: Showing a PDF inside a JSP

2005-08-03 Thread David Thielen
This may help.

http://itextdocs.lowagie.com/tutorial/general/webapp/

thanks - dave

David Thielen
303-499-2544
www.windwardreports.com


-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 03, 2005 9:49 PM
To: Struts Users Mailing List
Subject: Re: Showing a PDF inside a JSP

Cool, thanks!

At work I actually have a rather lengthy document listing all the 
Acrobat issues I found along the way, and the solutions to it... quite a 
few... I'm going to add this to it as a miscellaneous note, just so I 
don't forget for next time (and, oh, I *know* there's gonna be a next time!)

Frank

Gary VanMatre wrote:
Really? You found that to be necassery? What specific problem does it 
solve (which of the MANY Acrobat problems I mean? :) ). 

 
  
 I belive that it had to do with the upgrade from the 5.x to 6.0.2 reader
com controls.  Version 6.0.2 would not run as an inprocess server.  It
wanted to fire up an instance of reader instead of imbeding in the document.
The context type was the ticket.  That's about I'll I know about details.
It's been about a year ago.  I sat next to the guy working on it (Mr. Bee).
 
 Gary 
 
 
I ask because I spent probably a month dealing with PDF generation 
issues and I just last week managed to get everything working for 
everyone (it was one of those it works for user A but not B, oh wait, 
it's tommorrow and now user B doesn't work but A does... and their PCs 
appear to be identical in every way). I never tried what you suggest, 
and it looks to be working perfectly now, so as someone who has fought 
the Acrobat battle too, I'm curious. 

Frank 

Gary VanMatre wrote: 

Excellent! I wouldn't have thought that would work, based on how 
screwed up the Acrobat plug-in generally is, but that's excellent! 



Well, I think there was better than a week spent one line of code,
actually 

one char '\r'. You are not alone 

response.setContentType(application/pdf\r); 

Gary 



Frank 

[EMAIL PROTECTED] wrote: 


I've also seen it done using the html embed tag. We used itext to
deliver a 

fillable pdf. You can see it action here
(http://www.sos.state.co.us/biz). 


type=application/pdf  

public ActionForward loadBytesIntoStream( 
ActionMapping mapping, 
ActionForm form, 
HttpServletRequest request, 
HttpServletResponse response, 
String filename, 
byte[] bytes) 
throws Exception { 

response.setContentType(application/pdf\r); 
response.setHeader( 
Content-disposition, 
inline; filename= + justFilename); 
response.setContentLength(bytes.length); 
response.setHeader(Expires, 0); 
response.setHeader( 
Cache-Control, 
must-revalidate, post-check=0, pre-check=0); 
response.setHeader(Pragma, public); 
ServletOutputStream buff = response.getOutputStream(); 
buff.write(bytes, 0, bytes.length); 
bytes = null; 
buff.flush(); 
return null; 
} 

Gary 

-- Original message -- 




iText just generates the PDF on the server-side, the display issue on 
the browser would still be the same because you are returning a PDF 
stream back (or redirecting to a temp file, either way) and the
browser 
recognizes that and passes it to the plug-in for display (a plug-in 
which, by the way, is perhaps the buggiest piece of garbage ever
foisted 
on an unsuspecting public!) 

Frank 

ziggler wrote: 



you can use itext to realize? 

2005/8/4, Frank W. Zammetti : 




Hi Rafael, 

The only way I can think of to actually embed a PDF, or at least
to 
give that appearance, is to use iFrames. 

The Acrobat plug-in takes over the entire window it is shown in,
which 
when frames aren't involved is the entire client area of the
browser. 

So, using frames should, in theory, work (I've never actually tried
to 
do this, so there could be hidden gotchas). An iFrame would allow
you 
more or less to seem to embed the PDF. 

I'd be willing to bet there aren't any other ways to do it that
aren't 
way more trouble than they're woth, if there are any at all... 

...now that THAT gauntlet is thrown down, let the flood of messages 
correcting me begin :) 

Frank 

Rafael Taboada wrote: 




Hi Folks, I know my doubt is out Struts topic but I want to use ur 
xperiencie in my problem. 

I want to show a report in PDF file inside a JSP, inside a table
for 
example. I'm surfing on the web and all sites when try to show PDF
they 

link 


to this file and the PDF is showed in the entire window if the user
has 
acrobat in his PC. 
Is it possible to show the PDF but embed in JSP or HTML?? I mean, I
have 

to 

show a form in order to generate the PDF, and when th user click on


GENERATE 


REPORT button, it makes a PDF file and I want to show this PDF in
the 

same 

page... 
Do u know any place where I can find information for my doubt?. 
Any help would be appreciated. 
Thanks in advance 


-- 
Frank W. Zammetti 
Founder and Chief Software Architect 
Omnytex Technologies 
http://www.omnytex.com