public class ActionContext implements Serializable The ActionContext is the context in which anActionis executed. Each context is basically a container of objects an actionneeds for executionlike the session, parameters, locale, etc. The ActionContext is thread local which means that values stored i Read More
posted @ 2013-08-04 16:18 等风来。。 Views(343) Comments(0) Diggs(0) Edit
1.Unable to find 'struts.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdirjavax.servlet.context.tempdir默认就是$CATALINA_BASE/work文件夹下。2.Struts Upload上传文件对应Action类里面的xxx、xxxContentType和xxxFileName三个属性。对应Action类里面的caption属性。 Read More
posted @ 2013-08-04 15:53 等风来。。 Views(184) Comments(0) Diggs(0) Edit
1.struts.xml 1 2 3 4 5 6 7 8 9 10 tip 11 12 13 14 15 2.User.java1 package com.model;2 3 public class User {4 5 private String username; 6 private String password; 7 ... Read More
posted @ 2013-08-04 00:38 等风来。。 Views(301) Comments(0) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------