Hi, I get the following error while trying the simple beer application (using struts) example in head first servlet & jsp book:
Servlet error: Error instantiating servlet 'FrontController' (servlet class not found, make sure it exists at \\ny-file-02\dev\bhandarir\workspace\firststruts\WebRoot/WEB-INF/classes/org/apache/struts/action/ActionServlet.class, in a jar in \\ny-file-02\dev\bhandarir\workspace\firststruts\WebRoot/WEB-INF/lib/, in an orion-web.xml specified classpath or global server classpath)
Hi, Tks Shailesh, Abhishek for trying to help out. Abhishek, I tried 'action' instead of 'FrontController' but it gives same error: Error instantiating servlet 'action' (servlet class not found...
Just so that you know, I'm using oc4j10g standalone. So, I have pointed my application to the oc4j server in application.xml, http-web-site.xml in oc4j. The first screen (form.jsp) shows up successfully. Its only when I click on the button to submit to SelectBeer.do, I get the above mentioned error. Here is my code for form.jsp:
Also, here is the hierarchy of my application:
Someone please help me out because otherwise I'll have to start my project without struts as time is running out for me