I'm missing all the static resources in my JSP file view. I have been using below controller and dispatcher servlet configuration.
dispatcher-servlet file in a spring 3.0.1 application
context:component-scan base-package="com.iop.outreach"/>
<mvc:resources mapping="/resources/**" location="/resources/"/><mvc:annotation-driven/>
Sample JSP file
...
<link rel="stylesheet" type="text/css" href="resources/css/style.css" />
Requests hit the below controller
@Controller
@RequestMapping("/superadmin")
public Street Controller {
}
it looking for resources in <applicaton_rootname>/superadmin/resources
instead of <application_root>/resources/
I'm not sure where this is happening ?