[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

解决方案 »

  1.   

    是报内存溢出的错,可能abcwzl兄的处理方法可行!
      

  2.   

    不会吧!
    如果真的这样,那谁还用struts用多选处理?
    关键还是看你的代码是否合理,而不是去抱怨容器的内存!
    再说生成几百几千个字符串不可能占尽容器的内存吧,再说你不可能选这么多!
    关键还是自己的代码!
      

  3.   

    你自己的算法有问题,不是struts的问题
      

  4.   

    1000多个的时候。我把数据库操作屏蔽后还是要报错误。public class Message extends ActionForm implements Serializable { private String[] getUserId = null;
    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;
      

  5.   

    解决了是因为<html:form action="/upload" enctype="multipart/form-data">
    把enctype去掉了。就好了。但是传文件的功能就放到其他的模块里面就可以了。