Hello , Ur code is correct and it works perfectly.. I didnt get any error while using ur code in ofBiz. Have u imported import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.ofbiz.base.util.UtilHttp; The above 3 are required for ur method's code. If still not work copy paste ur full java class here....
Tell me ur JDK version. and ofBiz version ?? Regards, Deval -- View this message in context: http://ofbiz.135035.n4.nabble.com/Errors-with-JAava-code-in-OFBiz-tp4635012p4635027.html Sent from the OFBiz - User mailing list archive at Nabble.com.