Struts2实现文件上传(一)
来源:互联网 发布:微信假转账软件 编辑:程序博客网 时间:2024/04/29 13:27
Struts2实现文件上传
文件上传成功后结果页面
result.jsp:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags" %><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <base href="<%=basePath%>"> <title>上传文件后</title> <meta http-equiv="pragma" content="no-cache"><meta http-equiv="cache-control" content="no-cache"><meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"><meta http-equiv="description" content="This is my page"> </head> <body> 用户名:<s:property value="username"/><br> 密 码:<s:property value="password"/><br> 文 件:<s:property value="fileName"/> </body></html>
1 0
- Struts2实现文件上传(一)
- struts2实现文件上传(一)
- struts2实现文件上传(一)
- Struts2 文件上传(一)
- Struts2文件上传(一)
- struts2文件上传(一)
- Struts2实现文件上传报错(一)
- Struts2实现文件上传
- struts2实现文件上传
- struts2实现文件上传
- Struts2实现文件上传
- struts2实现文件上传
- struts2实现文件上传
- struts2实现文件上传
- struts2实现文件上传
- struts2实现文件上传
- Struts2实现文件上传
- Struts2实现文件上传
- Git历史版本穿梭(涉及GitHub相关操作)
- 深入探索spring技术内幕(五): 剖析spring AOP工作原理
- JAVA之IO技术-将java程序的异常信息保存在文件中
- 从项目团队合作中引发的思考
- Android应用与开发环境的相关知识总结
- Struts2实现文件上传(一)
- leadership.EnglishLearning.marc kielburger
- 一些基础的编程题记录。
- JAVA之IO技术的操作总结
- Spring-WS(二)-入门
- emacs 为什么找不到执行程序?
- Struts2实现文件上传(二)
- OpenGL实用工具库(GLUT)头文件的引用
- 一个不细心就会犯的错误