an odd problem about struts2 annotation

2011-09-28 Thread dan.zheng
hi,everyone I meet an odd problem with struts2 annotation,Let me elaborate it first import java.util.List; import lombok.Getter; import lombok.Setter; import org.apache.commons.lang.StringUtils; import org.apache.struts2.ServletActionContext; import org.apache.struts2.convention.annotation.Acti

Re: an odd problem about struts2 annotation

2011-09-29 Thread dan.zheng
asses or did you "war" the classes? > > if you "jar" the classes then i dont think struts 2 will scan your classes > in jars. > > On Thu, Sep 29, 2011 at 2:34 PM, dan.zheng wrote: > > > hi,everyone > > I meet an odd problem with struts2 annotation,

Re: an odd problem about struts2 annotation

2011-09-29 Thread dan.zheng
true,I will always deploy war with class files exploded,I want to find a workaround,thanks On Fri, Sep 30, 2011 at 10:22 AM, dan.zheng wrote: > I jar the classes and put it into WEB-INF/lib > of course you know,the war will package all jars and jsp files in bundle > why the struts2 can&

Re: unit testing with junit + spring + struts2, NullPointerException with HttpServletRequest

2011-10-15 Thread dan.zheng
I think the action will not affect the unit test process,it only part of the convention classloader getresource,the workaround is http://stackoverflow.com/questions/7734695/couldnt-get-resource-paths-for-class-path-resource hope it will be effective On Sat, Oct 15, 2011 at 3:13 AM, jaredtims wro

Re: Struts2 Memory Management

2011-10-19 Thread dan.zheng
So many objects dump directly to jsp will certainly consume a lot memory,I suppose you can enlarge your Web Server's jvm memory size to afford your requirement such as "-Xms 1024m -Xmx 1024m",more details can come from google "jvm tuning" On Wed, Oct 19, 2011 at 10:08 PM, Mario Urquilla < mario.ur