how to open Jasper Report on the client Ternminal

View: New views
1 Messages — Rating Filter:   Alert me  

how to open Jasper Report on the client Ternminal

by ranjanprasad :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.




I am 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();




Videos Get the latest video streams on movies, Try it!
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@...
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions