[05-4-13 15:03:10:938 CST] bd512c3 WebGroup I SRVE0180I: [cqu mis] [/mis] [Servlet.LOG]: /message/form.jsp: init
[05-4-13 15:03:10:938 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:10:953 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[05-4-13 15:03:10:969 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:10:969 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:10:969 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:11:000 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:48:922 CST] 6c6e12d2 WebGroup E SRVE0026E: [Servlet 错误]-[]:java.lang.OutOfMemoryError
[05-4-13 15:03:10:938 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:10:953 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[05-4-13 15:03:10:969 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:10:969 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:10:969 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:11:000 CST] bd512c3 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[05-4-13 15:03:48:922 CST] 6c6e12d2 WebGroup E SRVE0026E: [Servlet 错误]-[]:java.lang.OutOfMemoryError
如果真的这样,那谁还用struts用多选处理?
关键还是看你的代码是否合理,而不是去抱怨容器的内存!
再说生成几百几千个字符串不可能占尽容器的内存吧,再说你不可能选这么多!
关键还是自己的代码!
private String getUserType=null;
private String MsgId = null;
private String sendUserId = null;
private String content = null;
private String gntime = null;
private String sendUserType = null;
private String title = null;
private FormFile binaryfile;
把enctype去掉了。就好了。但是传文件的功能就放到其他的模块里面就可以了。