![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Struts
文章平均质量分 65
yzt_Roar
努力做一个成功的人
展开
-
Struts中文件上传时的空指针异常处理以及获取不到上传文件相关属性
private File file;//文件 private String fileFileName;//文件名 private String fileContentType;//文件MIME类型 1.第一步确定自己起的名字要和G:\higher class\code\01_struts_action\WebContent\WEB-INF\lib\commons-fileupload-1.3原创 2016-10-10 16:06:24 · 4069 阅读 · 0 评论 -
struts框架入门的第一小程序
struts框架入门的第一小程序专门提供给新入门者写第一struts程序: java代码 /** * struts第一个程序hello world * 1.选择发布方式G:\higher * class\Struts\apache-tomcat8.0.36\conf\Catalina\localhost * 2.右键项目properties在tomcat中配置生成xml文件 * 3.修改s原创 2016-10-10 21:57:29 · 578 阅读 · 1 评论