I am using SpringMVC 3.2 with java configuration instead of xml. My set up works on Tomcat 7 just fine, but returns a 404 on JBoss AS 6 or 7.1.1.
I tried the following and it also did not work
thiagoandrade6/test · GitHub
Forums suggest changing this servlet mapping from / to /*
protected String[] getServletMappings() {
| return new String[] {"/"}; |
}
Doing so eliminates the 404, but shows the jsp contents as text.