摘要: Insert title here 详细地址: public class ControllerServlet extends HttpServlet { private static final long serialVersionUID = 1L; private BusinessService... 阅读全文
posted @ 2016-07-16 08:18 沙漠里的小鱼 阅读(413) 评论(0) 推荐(0) 编辑
摘要: @Controller public class OutProductController extends BaseController { @Resource OutProductService outProductService; //转向输入年月的页面 @RequestMapping("/cargo/outproduct/toedit.action... 阅读全文
posted @ 2016-07-06 11:10 沙漠里的小鱼 阅读(157) 评论(0) 推荐(0) 编辑
摘要: targetFile ${contentType} atta... 阅读全文
posted @ 2016-07-04 23:09 沙漠里的小鱼 阅读(155) 评论(0) 推荐(0) 编辑
摘要: public class LoginInterceptor implements HandlerInterceptor { /** * 进行action方法之前执行,在此方法实现身份认证拦截 */ @Override public boolean preHandle(HttpServletRequest request, ... 阅读全文
posted @ 2016-07-04 14:14 沙漠里的小鱼 阅读(212) 评论(0) 推荐(0) 编辑
摘要: public class CustomExceptionResolver implements HandlerExceptionResolver { //前端控制器DispatcherServlet在进行HandlerMapping、调用HandlerAdapter执行Handler过程中,如果遇到异常就会执行此方法 //handler最终要执行的Handler... 阅读全文
posted @ 2016-07-04 12:05 沙漠里的小鱼 阅读(269) 评论(0) 推荐(0) 编辑
摘要: public String editItemSubmit(Model model,Integer id, @Validated(value={ValidGroup1.class}) @ModelAttribute(value="itemsCustom") ItemsCustom itemsCustom, Bindi... 阅读全文
posted @ 2016-07-03 18:06 沙漠里的小鱼 阅读(178) 评论(0) 推荐(0) 编辑
摘要: @Override protected void buildExcelDocument(Map map, HSSFWorkbook hssfWorkbook, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception { List lis... 阅读全文
posted @ 2016-07-03 17:52 沙漠里的小鱼 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-03 17:35 沙漠里的小鱼 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 对于get乱码 String userName = new String(request.getParamter("userName").getBytes("ISO8859-1"),"utf-8") 或者 <Connector URIEncoding="utf-8" connectionTimeou 阅读全文
posted @ 2016-07-03 17:21 沙漠里的小鱼 阅读(106) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2016-07-03 15:11 沙漠里的小鱼 阅读(111) 评论(0) 推荐(0) 编辑