I think I am able to print the error and it says

**********************************
The Following Errors Occurred:

Error calling event: org.ofbiz.webapp.event.EventHandlerException: Error
invoking event, the class org.ofbiz.calculator.calculator.calculatorEvents
was not found

**********************************
 I have the class calculatorEvents  in calculatorEvents.java which resides
in component - calculator > src > org > ofbiz > calculator > calculator  >
calculatorEvents.java 

my calculatorEvents.java is

**********************************
package org.ofbiz.calculator.calculator;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.ofbiz.base.util.UtilHttp;

        public static String processFirstForm(HttpServletRequest
request,HttpServletResponse response){
                        String firstName = request.getParameter("firstName");
                        String lastName = request.getParameter("lastName");
                        request.setAttribute("combined", firstName + " " + 
lastName);
                        request.setAttribute("allParams", 
UtilHttp.getParameterMap(request));
                        request.setAttribute("submit", "Submitted");
                        return "success";
                        }

}
**********************************


Thanks.



awdesh parihar wrote:
> 
> Paste your form contain here .
> --
> Awdesh Parihar
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Java-Class-tp24637295p24651340.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to