how to times 2 fields

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...
erwin1234's picture
Joined: Aug 15 2006 - 2:36pm
Last seen: 16 years 7 months ago

1 Answer:

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
csagar's picture
729
Joined: Feb 18 2009 - 12:08am
Last seen: 14 years 1 month ago
Feedback
randomness