Jump to content
Changes to the Jaspersoft community edition download ×

saradhasivaraman

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by saradhasivaraman

  1. Placing the jar in WEB-INF/lib and also placing jar in the repositorygivesthe soluntion
  2. This issue has been resolved.. ((com.brainscript.yield.yieldgraph.service.YieldChartReportScriptlet)$P{REPORT_SCRIPTLET}).generateGraph() This line referred form the url http://community.jaspersoft.com/questions/503439/chart-scriptlet-real-example as such doesn't work.. 1) Need to specify the class name in the scriptletclass of ireport Example:com.brainscript.yield.yieldgraph.service.YieldChartReportScriptlet then 2) specify the method name in the tag. Example :$P{REPORT_SCRIPTLET}).generateGraph(). jst specifying the method name with the reference object of the class ($P{REPORT_SCRIPTLET})) will suffice in imageexpression ... This works fine..
  3. Hi , I have created the image inside the in jrxml and have written the javaclass using scriptlet and have invoked jfreechart api to create a barchart and the java file has been exported as jar . This jar has been set in class path of the ireport ; after which I compiled the jrxml file and executed the report.It is working Fine.. but in jasper server.. Iam not able to excute the report .. Can anyone help me to configure jar file in jasper server..
  4. Hi , Need chart scriptlet real time example to take up data's dynamically... the one which i referred http://community.jaspersoft.com/questions/503439/chart-scriptlet-real-example from this site doesn't seem to work.. P Refering from abv url.. Not able to find the API generateGraph() from the REPORT_SCRIPTLET ((com.brainscript.yield.yieldgraph.service.YieldChartReportScriptlet)$P{REPORT_SCRIPTLET}).generateGraph() Plz help me ..
  5. Hi , I need to select the count between the starttime and end time as parameters... like select count (*) from table name where start_time={$param1) and End_time={$param2} but i need to convert Start time and End time into the unix time using java code code and then pass the converted time to the select query... how can i achieve this... Plz help on this...
  6. no need html tag <br/> plz remove all the <br> and other html tags if exist .. then place ur generated .class file in the loc where the jrxml lies or export the java class as a jar file and include it in the Tools > Option > classpath..
  7. Hi , I hav a business logic of calculating the time interval as 5mins based the start time and end time using java code.. Is there an option to include this java class in ireport tool and use my calcualted time interval as x axis value
  8. HI , Can anyone help me to get jasper meta tables in informix specific database.
  9. HI... It has been resovled... jst try to make ur class file( net.sf.jasperreports.j2ee.servlets.ImageServlet) avialable in the build/classes folder and clean and deploy the weblogic server..Since the web.xml searches for the corresponding class file in the build/classed folder.
  10. Hi , I have used serlvet to direct the jasper chart to Browser... Here is the snippet for the same... web.xml <servlet> <servlet-name>webreport</servlet-name> <servlet-class> net.ensode.jasperbook.HtmlReportServlet </servlet-class> </servlet> <servlet> <servlet-name>ImageServlet</servlet-name> <servlet-class> net.sf.jasperreports.j2ee.servlets.ImageServlet </servlet-class> </servlet> <servlet-mapping> <servlet-name>webreport</servlet-name> <url-pattern>/webreport</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>ImageServlet</servlet-name> <url-pattern>/image</url-pattern> </servlet-mapping> and I use JRHtmlExporter in my HtmlReportServlet class to direct it to the browser JRHtmlExporter htmlExporter = new JRHtmlExporter(); response.setContentType("text/html"); request.getSession().setAttribute(ImageServlet.DEFAULT_JASPER_ PRINT_SESSION_ATTRIBUTE, jasperPrint); htmlExporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); htmlExporter.setParameter(JRExporterParameter.OUTPUT_WRITER, printWriter); htmlExporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "image?image="); htmlExporter.exportReport(); I face the problem while deploying the weblogic sever... It throws runtime classnotfound exception net.sf.jasperreports.j2ee.servlets.ImageServlet net.sf.jasperreports.j2ee.servlets.ImageServlet this class is avialable under the jar jasper reports 4.5 <servlet-class> net.sf.jasperreports.j2ee.servlets.ImageServlet </servlet-class> Can U Guys plz help me..
×
×
  • Create New...