Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

scottjhnJan 9 2013 — edited Jan 9 2013
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2013
Added on Jan 9 2013
1 comment
12,092 views