@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/sources/**").addResourceLocations("/sources/");
registry.addResourceHandler("/*.html").addResourceLocations("/WEB-INF/");
}
/sources/
var data= {
"id": $(this).children("input.id").val(),
"role" : $(this).children("select.role").val()
};
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>