![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringMVC
深海梨
a geek~
展开
-
SpringMVC: can be found for element 'mvc:annotation-driven'
解决方法:在该配置文件上面的beans中添加xmlns:mvc="http://www.springframework.org/schema/mvc" xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"原创 2017-09-14 19:30:46 · 587 阅读 · 0 评论 -
SpringMVC(二) Ajax 的使用
导入 jar包1.引用的 index.js 文件$(function(){ $.ajax({ url:'ajaxData.do', type:'post', dataType:'json', success:function(obj){ var str="<tr> ";原创 2017-09-18 16:22:45 · 395 阅读 · 0 评论 -
SpringMVC(三)upload
导入 jar 包:commons-io-2.0.jar 用CommonsMultipartFile时必须是commons-io-2.0.jar以上版本1.文件上传页面 jsp<form action="upload.do" method="post" enctype="multipart/form-data"> <table> <tr>原创 2017-09-18 17:00:05 · 340 阅读 · 0 评论