Struts2 Modifying An arraylist of objects

2010-08-03 Thread Rohit
Hi, I have an object in my Action class which contains an arraylist of objects internally, I am trying to create a CRUD screen for this object. My Action Class and bean are given below, /** * @author rohit * */ public class IRFeedMgmtAction extends ActionSupport implements ModelD

Re: XML error reading definitions

2010-08-03 Thread sivakrishna.komma
Hi, This is Siva Krishna. I have also got the same problem. But i have been facing this problem in IE7 only. I used Tomcat5, struts2.0.11 jar file. Would you tell me how did u solve this problem? Its very important and urgent. Thanks in advance. jondcruz wrote: > > Hello, > >

Clear ThreadLocal of ActionContext

2010-08-03 Thread Franz Wong
Hi, I would like to ask is there any mechanism clearing ThreadLocal of ActionContext by struts? As I know, there are some issues when ThreadLocal is used with thread pool. Reference : http://weblogs.java.net/blog/jjviana/archive/2010/06/09/dealing-glassfish-301-memory-leak-or-threadlocal-thread-p

Re: Unit Testing in Struts 2.1.6

2010-08-03 Thread Cimballi
You can try this : http://cimballisblog.blogspot.com/2009/09/unit-testing-struts2-actions-with.html Cimballi On Tue, Aug 3, 2010 at 3:01 PM, akash uppal wrote: > > > > Dan - Is your Struts 2 application using Spring?  If it isn't you shouldn't > need to use the StrutsSprintTestCase (but then I

RE: Unit Testing in Struts 2.1.6

2010-08-03 Thread akash uppal
Dan - Is your Struts 2 application using Spring? If it isn't you shouldn't need to use the StrutsSprintTestCase (but then I don't know why you would get the error you did). If you are using Spring then I don't have any good advice for you as I've not used the JUnit plugin much with a Struts 2

RE: Unit Testing in Struts 2.1.6

2010-08-03 Thread akash uppal
I am using struts with spring, and getting same exception. I used StrutsSpringTestCase class. Anyone have come clue? I wud appreciate Dan - Is your Struts 2 application using Spring? If it isn't you shouldn't need to use the StrutsSprintTestCase (but then I don't know why you would get

AW: Struts2 session problem (after migrating behind reverse proxy)

2010-08-03 Thread Tim Dellas
Hi Nuwan! To be frank: I don't know - I don't have access to the production server and just push up my .WARs. But just to let everyone know: I just solved the problem with a dirty hack: I passed the Session Id to the JSP and use a javascript to set the needed JSESSIONID cookie clientside. func

Struts2 and Maven Archetypes

2010-08-03 Thread Roland T. Craddolph
I've asked this question on the Maven listserv, but didn't not get a response back so I will ask on this one also. What other commands are there available to make Struts2 archetypes? For now I've been using this: mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGroup

Re: Struts2 session problem (after migrating behind reverse proxy)

2010-08-03 Thread nuwan chandrasoma
Hi Tim, what is your apache webserver version? i have you tried with a ProxyPassReverse declaration? Thanks, Nuwan C. On Mon, Aug 2, 2010 at 9:05 PM, Tim Dellas wrote: > Hi there! > > > > I store session parameters in a Struts2 session map that I get in my > actions > using the SessionAware i

Re: File Upload

2010-08-03 Thread Alex Rodriguez Lopez
I think this is a browser/OS specific behaviour, not related to Struts or even to HTML at all. Em 26-07-2010 13:20, RogerV escreveu: Is there a way of specifying the start directory to be used when the user hits the "browse" button? As far as I can see, the system "remembers" where it was look