Springmvc a URL request, have access to the controller solution.

(1)To meet their development problems, and then record.:

A lot of people is the configuration file is out of the question, but they had not,


See the following code

a.<script charset="utf-8" type="text/javascript" src="#://wpa.b.qq.com/cgi/wpa.php?key=XzkzODAyMzI4M183NzM3Nl80MDA5NjAwMjgwXw"></script>


b.<img src="#" width="200" height="200" />


Aiming at the time in a and B two code appears in the JSP page or HTML page, will cause the program several times to call controller

Because they are SRC references not to, so controller has repeatedly been called.


(Controller method being called twice! or many times)



The solution is to take their SRC are deleted, or pointing to load into the content

Posted by Rose at December 07, 2013 - 4:59 PM