i have a problem with times 2 fields in ireport.... when i compile... that no error but when i move .jasper to my project i have some error
javax.servlet.ServletException: Error evaluating expression :
Source text : Integer.valueOf($F{product.price}.intValue() * Integer.parseInt($F{unit}))
com.opensymphony.webwork.views.jasperreports.JasperReportsResult.doExecute(JasperReportsResult.java:142)
com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:109)
com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:274)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
...
anyone can help me.. thanks before for helping...
javax.servlet.ServletException: Error evaluating expression :
Source text : Integer.valueOf($F{product.price}.intValue() * Integer.parseInt($F{unit}))
com.opensymphony.webwork.views.jasperreports.JasperReportsResult.doExecute(JasperReportsResult.java:142)
com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:109)
com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:274)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
...
anyone can help me.. thanks before for helping...
1 Answer:
Posted on April 20, 2009 at 3:56am
Hi ,
i read your post.... it seems I'm going through the same problem that you faced...just one difference i'm using JSP instead of servlets....if you have got any solution by this time [i'm sure ,you must have as I'm posting a reply after 3 years :) ], i request you to share it....i would be very thankfull....
thanks
sagar :)
Happy coding!!
Happy sharing !!
Post Edited by csagar at 04/20/2009 10:57