摘要: jsp页面: <form id="itemAddForm" class="itemForm" method="post"> <div id="tab1" class="tabcontent"> <div class="form"> <div class="form_row"> <label><b>标 阅读全文
posted @ 2017-09-13 00:35 ~驰~ 阅读(5125) 评论(1) 推荐(0)
摘要: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " 阅读全文
posted @ 2017-09-11 17:21 ~驰~ 阅读(3925) 评论(0) 推荐(0)
摘要: String path="D:\\新建文件夹\\2.png"; File file=new File(path); System.out.println(file.exists()); String path1="D:/新建文件夹/2.png"; File file1=new File(path); 阅读全文
posted @ 2017-08-30 14:10 ~驰~ 阅读(30138) 评论(1) 推荐(5)
摘要: 转载自:http://blog.csdn.net/zxw136511485/article/details/51434102 阅读全文
posted @ 2017-08-15 22:22 ~驰~ 阅读(156) 评论(0) 推荐(0)
摘要: 一、搭建步骤 1、导入jar包、创建项目包结构 2、在web.xml中配置前端控制器 3、编写springMvc核心配置文件 4、编写pojo类和Controller类测试 二、实现 1、导入jar包、创建项目包结构 2、在web.xml中配置前端控制器 <!-- springMvc前端控制器 -- 阅读全文
posted @ 2017-08-10 13:42 ~驰~ 阅读(433) 评论(0) 推荐(0)
摘要: <script type="text/javascript"></script>标签中使用el表达式时要将el表达式用双引号引起来。 阅读全文
posted @ 2017-08-02 20:14 ~驰~ 阅读(227) 评论(0) 推荐(0)
摘要: 现象:Tomcat启动时,spring加载配置文件applicationContext.xml出错,抛出nested exception is og.xml.sax.SAXParseException; lineNumber: 12; columnNumber: 47; cvc-elt.1: 找不到 阅读全文
posted @ 2017-08-02 20:05 ~驰~ 阅读(949) 评论(0) 推荐(0)
摘要: $("#codeId").addClass("error"); $("#codeId").html("登录名不能为空"); 判断进行校验登录名为空时,提示信息红色"登录名不能为空",效果未出现的原因: 1、确定jquery已引入并起效 2、确定选择的id是正确的 3、$("#codeId").htm 阅读全文
posted @ 2017-07-31 12:33 ~驰~ 阅读(354) 评论(0) 推荐(0)