摘要:
前言使用ajax请求数据,很多人都会,比如说:$.post(path,{data:data},function(data){ ...},"json");又或者是这样的ajax$.ajax({ url:"${pageContext.request.contextPa... 阅读全文
摘要:
SpringMVC框架转载请注明出处目录一:配置springMVC开发环境 1.1.配置文件的helloworld 1.2.基于注解的helloworld二:@RequestMapping详解 2.1.类的@RequestMapping注解 2.2.请求方式的设置 2.... 阅读全文
摘要:
function date(){ var date = new Date(); var year = date.getFullYear(); var month = date.getMonth()+1; //js从0开始取 var date1 = date... 阅读全文
摘要:
一:配置MyBaits的开发环境1.1.核心配置文件正如hibernate一样,MyBaits也有一个核心的配置文件,它包含着数据源地址,用户名,密码等,还有着各个实体类的配置文件,配置文件是xml类型的,至于文件名,则可以随意写,我这里取名作conf.xml,本文章中,都以这个名字为核心配置文件的... 阅读全文
摘要:
把图片加载到BufferedImage 中有什么作用呢?它就可以利用ImageIO.write(image, "JPEG", response.getOutputStream());把图片打印到客户端,或者任何一个地方。那么如何把图片加载到BufferedImage 中呢? S... 阅读全文