1 Reply Latest reply: Jan 9, 2013 10:58 AM by Kayaman RSS

    Error 500: javax.servlet.ServletException: SRVE0207E: Uncaught initializati

    scottjhn
      Java 6
      Spring 3.2
      IBM RAD
      OS: SUSE Linux 11

      *[spring-servlet.xml]*

      ...
      <entry key="/test.htm" value="testController"></entry>
      ...

      <bean id="testController" class="com.test.TestController">
      <property name="methodNameResolver" ref="testControllerResolver" />
      </bean>


      *[JSP]*

      <form action="test.htm?cmd=test" method="post" >

      <input name="test" type="text" value="abc"/>
      <input type="submit" value="Submit"/>

      </form>


      *[JAVA]*

      public class TestController extends MultiActionController {
      public TestController() {}

      public void test(HttpServletRequest request, HttpServletResponse response) throws Exception {
      String id = request.getParameter("test");
      }
      }

      When click the Submit button, it displayed:

      Error 500: javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception

      What could be wrong?



      Thanks to help.

      P.S. The above wiring used to work well. I am not aware what change made could interfere with it.