The configuration of the release of static resources

<! - release all static resources -> 
<MVC: the servlet-default-Handler> </ MVC: the servlet-default-Handler> 

above, an alternative to this method the following N 

 <- <mvc:! Resources mapping = "/ JS / *" LOCATION = "/ JS /"> </ MVC: Resources> -> 

 <- <MVC:! Resources Mapping = "/ CSS / *" LOCATION = "/ CSS /"> </ MVC : Resources> -> 

 <- <MVC:! Resources Mapping = "/ ImagesRF Royalty Free / *" LOCATION = "/ ImagesRF Royalty Free /"> </ MVC: Resources> -> 

. . . . . . .

  

Guess you like

Origin www.cnblogs.com/yingwangwang/p/11369779.html