• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jasper

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am trying to write a simple JSP compiler on a simpler line than the Tomcat jasper/jsp compiler. I am not able to picture how everything fits. looking through the tomcat jasper code gives me headaches. Can anyone please tell me how a jsp gets compiled to servlet with reference to coreesponding classes in jasper if possible. ie from the point when a jsp comes browser to the tomcat and how the jsp is compiled to servlet and is executed and also hoe it recreates the jsp with the dynamic content. Any pointers to articles expalining above would also be very helpful...
Thanks a lot
Sangeetha
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to open Jasper Report on the client Ternminal

Hi all! Using jasper report I develop a project with struts 1.2 Frame work ; My project generate a PDF report based on a specified database.
The problem is it open the PDF file on the Server Terminal(side) i.e (http://localhost:8084/GeoTrak/getdetailReportPage.do) but not on the client Terminal(side) i.e (http://192.168.100.35:8084/GeoTrak/getdetailReportPage.do).
Does anyone knows how to resolve this situation ? Best regards Ranjan

Code ……Struts Action class.:……………………………..

String fullPath=getServlet().getServletContext().getRealPath("reports/"+pf.getReportList()+".jasper");
JPrint=JasperFillManager.fillReport(fullPath,params,con);
JasperViewer.viewReport(JPrint,true);
con.close();

 
reply
    Bookmark Topic Watch Topic
  • New Topic