![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习札记
gaoshou137
这个作者很懒,什么都没留下…
展开
-
学习札记--Struts1 文件上传2
上节已经有一个文件上传了,是common-fileupload1.2.2,相对以前文件上传比较方便了。但看了API 有这么段话: that file items must be stored somewhere, before they are actually accessable by the user. This approach is convenient, because it原创 2012-11-28 23:04:50 · 321 阅读 · 0 评论 -
学习札记--Struts1 文件上传
public class MyFileUpload extends Action { @Override public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Excep原创 2012-11-27 23:41:30 · 281 阅读 · 0 评论 -
学习札记--eclipse+tomcat 一直报404错误
刚把tomcat装好,eclipse里建了server,但是跑自己的web总是报404。 解决方法: 双击server,找到server location选项,选择Use Tomcat installation 若该选项不可选,清空server上的工程即可原创 2012-11-16 22:40:02 · 410 阅读 · 0 评论 -
学习札记--Struts1 配置文件
1.web.xml action 1 org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml action *.do login.jsp 注意这个配置1 这是说web部署时就实例化这个原创 2012-11-16 23:40:10 · 367 阅读 · 0 评论 -
form get 方式提交时的误区
先看html代码 你认为form提交时method参数会提交到后台么? 我试过之后发现不能的,因为是get方式,会自动把input的值以 url+参数的形式提交,就把你的method覆盖了。 如果改成post提交就不会有问题了原创 2012-11-22 09:38:55 · 301 阅读 · 0 评论