RE: tomcat exits after the JasperReport window is closed

2005-05-13 Thread Raghupathy,Gurumoorthy
In ireport change the format fro mthe menu

From Build Menu check PDF preview.

Regards
Guru 

-Original Message-
From: U K Laxmi [mailto:[EMAIL PROTECTED] 
Sent: 13 May 2005 09:13
To: Tomcat Users List
Subject: tomcat exits after the JasperReport window is closed


I'm just started using JasperReports along with
iReport to generate reports for my web application.
I'm using apache+tomcat as my web server and JSP+Html
as my web development technology. 

I've created a sample report using JasperReports 
Jsps. When i click on the hyperlink, it shows the
report in jasper viewer. But once i close jasper
viewer, my tomcat exits.

I'm using tomcat 5.5.7 and apache 2.0.52.

Is anyone know what is causing the problem? Pls help.

I've one more requirement. When the report button is
clicked, report is shown in Jasper Viewer and html
version of that report is generated and stored in some
directory as a html file. I want the HTML report file
to be shown when the report button is clicked. How can
this be achieved? If this is done, i guess the earlier
problem gets solved.

Anyone has any ideas, pls inform.

Thanks.



Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html

-
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: tomcat exits after the JasperReport window is closed

2005-05-13 Thread U K Laxmi
Thank you for the reply.

I could able to achieve what i wanted by commenting
the lines in source code for viewing the report with
jasper viewer. By doing this, it stopped showing the
report using Jasperviewer. So, no question of closing
it.

Second one, viewing the HTML report, while loading the
html page which generates report, i'm loading the html
report generated by the report generator. That way ,
upon clicking the 'report' button i'm able to view the
HTML version of the report page.

Thanks.
Laxmi

--- Raghupathy,Gurumoorthy
[EMAIL PROTECTED] wrote:
 In ireport change the format fro mthe menu
 
   From Build Menu check PDF preview.
 
 Regards
 Guru 
 
 -Original Message-
 From: U K Laxmi [mailto:[EMAIL PROTECTED] 
 Sent: 13 May 2005 09:13
 To: Tomcat Users List
 Subject: tomcat exits after the JasperReport window
 is closed
 
 
 I'm just started using JasperReports along with
 iReport to generate reports for my web application.
 I'm using apache+tomcat as my web server and
 JSP+Html
 as my web development technology. 
 
 I've created a sample report using JasperReports 
 Jsps. When i click on the hyperlink, it shows the
 report in jasper viewer. But once i close jasper
 viewer, my tomcat exits.
 
 I'm using tomcat 5.5.7 and apache 2.0.52.
 
 Is anyone know what is causing the problem? Pls
 help.
 
 I've one more requirement. When the report button is
 clicked, report is shown in Jasper Viewer and html
 version of that report is generated and stored in
 some
 directory as a html file. I want the HTML report
 file
 to be shown when the report button is clicked. How
 can
 this be achieved? If this is done, i guess the
 earlier
 problem gets solved.
 
 Anyone has any ideas, pls inform.
 
 Thanks.
 
 
   
 Discover Yahoo! 
 Have fun online with music videos, cool games, IM
 and more. Check it out! 
 http://discover.yahoo.com/online.html
 

-
 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]
 
 



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



RE: tomcat exits after the JasperReport window is closed

2005-05-13 Thread U K Laxmi
Have you experimented exporting jasper Reports to
Excel format? If so, pls give me the API'syou have
used?

Thank you.
Laxmi

--- Raghupathy,Gurumoorthy
[EMAIL PROTECTED] wrote:
 In ireport change the format fro mthe menu
 
   From Build Menu check PDF preview.
 
 Regards
 Guru 
 
 -Original Message-
 From: U K Laxmi [mailto:[EMAIL PROTECTED] 
 Sent: 13 May 2005 09:13
 To: Tomcat Users List
 Subject: tomcat exits after the JasperReport window
 is closed
 
 
 I'm just started using JasperReports along with
 iReport to generate reports for my web application.
 I'm using apache+tomcat as my web server and
 JSP+Html
 as my web development technology. 
 
 I've created a sample report using JasperReports 
 Jsps. When i click on the hyperlink, it shows the
 report in jasper viewer. But once i close jasper
 viewer, my tomcat exits.
 
 I'm using tomcat 5.5.7 and apache 2.0.52.
 
 Is anyone know what is causing the problem? Pls
 help.
 
 I've one more requirement. When the report button is
 clicked, report is shown in Jasper Viewer and html
 version of that report is generated and stored in
 some
 directory as a html file. I want the HTML report
 file
 to be shown when the report button is clicked. How
 can
 this be achieved? If this is done, i guess the
 earlier
 problem gets solved.
 
 Anyone has any ideas, pls inform.
 
 Thanks.
 
 
   
 Discover Yahoo! 
 Have fun online with music videos, cool games, IM
 and more. Check it out! 
 http://discover.yahoo.com/online.html
 

-
 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]
 
 



Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


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



Re: RE: tomcat exits after the JasperReport window is closed

2005-05-13 Thread Pankaj Bhatnagar
It's very simple :

Just replace the %jrPrintFilename% and %outputFilename% with the actual file 
names in the following code :
CODE
JasperPrint jasperPrint = (JasperPrint) JRLoader.loadObject(%jrPrintFilename%);
JRXlsExporter exporter = new JRXlsExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, %outputFilename%);
exporter.exportReport();
/CODE

-HTH
Pankaj Bhatnagar

On Fri, 13 May 2005 U K Laxmi wrote :
Have you experimented exporting jasper Reports to
Excel format? If so, pls give me the API'syou have
used?

Thank you.
Laxmi

--- Raghupathy,Gurumoorthy
[EMAIL PROTECTED] wrote:
  In ireport change the format fro mthe menu
 
  From Build Menu check PDF preview.
 
  Regards
  Guru
 
  -Original Message-
  From: U K Laxmi [mailto:[EMAIL PROTECTED]
  Sent: 13 May 2005 09:13
  To: Tomcat Users List
  Subject: tomcat exits after the JasperReport window
  is closed
 
 
  I'm just started using JasperReports along with
  iReport to generate reports for my web application.
  I'm using apache+tomcat as my web server and
  JSP+Html
  as my web development technology.
 
  I've created a sample report using JasperReports 
  Jsps. When i click on the hyperlink, it shows the
  report in jasper viewer. But once i close jasper
  viewer, my tomcat exits.
 
  I'm using tomcat 5.5.7 and apache 2.0.52.
 
  Is anyone know what is causing the problem? Pls
  help.
 
  I've one more requirement. When the report button is
  clicked, report is shown in Jasper Viewer and html
  version of that report is generated and stored in
  some
  directory as a html file. I want the HTML report
  file
  to be shown when the report button is clicked. How
  can
  this be achieved? If this is done, i guess the
  earlier
  problem gets solved.
 
  Anyone has any ideas, pls inform.
 
  Thanks.
 
 
 
  Discover Yahoo!
  Have fun online with music videos, cool games, IM
  and more. Check it out!
  http://discover.yahoo.com/online.html
 
 
-
  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]
 
 



Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


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





Re: RE: tomcat exits after the JasperReport window is closed

2005-05-13 Thread U K Laxmi
Thanks for the code snippet. This is what i wanted.
Now i could able to export that file to excel.

Thanks again.
Laxmi

--- Pankaj  Bhatnagar [EMAIL PROTECTED]
wrote:
 It's very simple :
 
 Just replace the %jrPrintFilename% and
 %outputFilename% with the actual file names in the
 following code :
 CODE
 JasperPrint jasperPrint = (JasperPrint)
 JRLoader.loadObject(%jrPrintFilename%);
 JRXlsExporter exporter = new JRXlsExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT,
 jasperPrint);

exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME,
 %outputFilename%);
 exporter.exportReport();
 /CODE
 
 -HTH
 Pankaj Bhatnagar
 
 On Fri, 13 May 2005 U K Laxmi wrote :
 Have you experimented exporting jasper Reports to
 Excel format? If so, pls give me the API'syou have
 used?
 
 Thank you.
 Laxmi
 
 --- Raghupathy,Gurumoorthy
 [EMAIL PROTECTED] wrote:
   In ireport change the format fro mthe menu
  
 From Build Menu check PDF preview.
  
   Regards
   Guru
  
   -Original Message-
   From: U K Laxmi [mailto:[EMAIL PROTECTED]
   Sent: 13 May 2005 09:13
   To: Tomcat Users List
   Subject: tomcat exits after the JasperReport
 window
   is closed
  
  
   I'm just started using JasperReports along with
   iReport to generate reports for my web
 application.
   I'm using apache+tomcat as my web server and
   JSP+Html
   as my web development technology.
  
   I've created a sample report using JasperReports
 
   Jsps. When i click on the hyperlink, it shows
 the
   report in jasper viewer. But once i close jasper
   viewer, my tomcat exits.
  
   I'm using tomcat 5.5.7 and apache 2.0.52.
  
   Is anyone know what is causing the problem? Pls
   help.
  
   I've one more requirement. When the report
 button is
   clicked, report is shown in Jasper Viewer and
 html
   version of that report is generated and stored
 in
   some
   directory as a html file. I want the HTML report
   file
   to be shown when the report button is clicked.
 How
   can
   this be achieved? If this is done, i guess the
   earlier
   problem gets solved.
  
   Anyone has any ideas, pls inform.
  
   Thanks.
  
  
  
   Discover Yahoo!
   Have fun online with music videos, cool games,
 IM
   and more. Check it out!
   http://discover.yahoo.com/online.html
  
  

-
   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]
  
  
 
 
 
 Yahoo! Mail
 Stay connected, organized, and protected. Take the
 tour:
 http://tour.mail.yahoo.com/mailtour.html
 
 

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



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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