-
Jan 9th, 2013, 10:30 AM
#1
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 at 10:37 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules