web功能
简单就好-怒
简单就好
展开
-
简单CXF操作之整合spring(二)
服务器端接口package test.cxf.server;import javax.jws.WebService;@WebServicepublic interface HelloCXF { public String say(String name);}实现package test.cxf.server;import javax.jws.WebSe原创 2016-02-01 10:20:24 · 309 阅读 · 0 评论 -
简单CXF操作(一)
服务器端package test.cxf.server;import javax.jws.WebService;@WebServicepublic interface HelloCXF { public String say(String name);}package test.cxf.server;import javax.jws.WebService;@Web原创 2016-01-21 15:41:42 · 304 阅读 · 0 评论 -
简单web文件上传,commons-fileupload
服务器端servlet:package test;import java.io.File;import java.io.IOException;import java.text.SimpleDateFormat;import java.util.Date;import java.util.Iterator;import java.util.List;原创 2016-01-15 11:40:39 · 702 阅读 · 0 评论 -
简单图片裁剪上传,jsp+servlet+jQuery+Image Cropper(测试)
服务器端package test;import java.awt.image.BufferedImage;import java.io.ByteArrayInputStream;import java.io.File;import java.io.IOException;import javax.imageio.ImageIO;import javax.servlet.Serv原创 2016-02-18 09:47:33 · 2061 阅读 · 1 评论 -
简单文件下载,servlet+jsp
服务器端protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub String filename=request.getParameter原创 2016-02-24 11:53:19 · 570 阅读 · 0 评论 -
简单jxl操作之jsp下载Excel
upload.jspresponse.setHeader("Content-Disposition", "attachment;filename=" + System.currentTimeMillis() + ".xls"); WritableWorkbook book=Workbook.createWorkbook(response.getOutputStream());原创 2016-03-22 10:48:33 · 617 阅读 · 0 评论 -
简单CXF3.0整合Spring4.1
准备中。。原创 2016-08-08 17:05:32 · 5448 阅读 · 4 评论