Announcement Announcement Module
Collapse
No announcement yet.
Error 500: javax.servlet.ServletException: SRVE0207E: Uncaught initialization excepti Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 500: javax.servlet.ServletException: SRVE0207E: Uncaught initialization excepti

    Spring 3.2
    Java 6
    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.
    Last edited by scott; Jan 9th, 2013, 11:37 AM.
Working...
X