![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts
systemxgl
这个作者很懒,什么都没留下…
展开
-
struts上传
[size=medium][/size]public ActionForward upLoad(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FileNotFoundException, IOException { Fil...原创 2008-10-30 10:09:49 · 65 阅读 · 0 评论 -
struts中实现文件下载
struts中实现文件下载的主要代码: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { String strFileName = "测试文件.rar"; File file = ne...原创 2008-11-18 15:16:14 · 77 阅读 · 0 评论