Re: Multiple Struts Config Problem

2009-04-07 Thread srinivasch
Sanchayan, You should have used a different post than using my post. Its called thread jacking. Please post a new one. Thanks Sanchayan Bandyopadhay wrote: > > I have multiple user types in my application and for each such user type I > intend to keep one specific struts-config.xml file. >

Result Params not getting set in redirect

2009-04-03 Thread srinivasch
Hi, I am using a simple action which reads the xml, xml has data as to where my resultant action would be. So I am able to read the xml file and set the parameters in the @Result like below @Result(name="redirect",location="${url}", type="redirect", params={"REQUEST_TYPE","${requestType}","us

Error when starting sun java App Server com.opensymphony.xwork2.inject.DependencyException: Security manager in use, could not access constructor: com.opensymphony.xwork2.ObjectFactory(com.opensymphon

2009-04-01 Thread srinivasch
WEB0100: Loading web module [budsystem] in virtual server [server] at [/budsystem] Starting Servlet Engine: Sun-Java-System/Application-Server Parsing configuration file [struts-default.xml] Parsing configuration file [struts-plugin.xml] Unable to locate configuration files of the name struts.xml,

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread srinivasch
OK, I changed my view, i would go ahead and extend ServletRedirectResult and try to include the request parameters just like how ServletActionRedirectResult and URL component try to do. That way it would be consistent. Your solution is also good though, but I dont like to have extra code in my

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread srinivasch
ParameterMap(); > > Then in my action I implemented SessionAware and utililized BeanUtils from > Jakarta Commons to re-populate the properties in my action class. > > this.setRequestMap((Map)this.getSession().get("input_parms")); > BeanUtils.populate(this, this.getRequest

Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread srinivasch
Hi, My issue goes like this, I have a summary page which comes for a search result, and the user clicks to see summary of any record from the result. So all the search parameters are existing in the URL. And when we further hit edit link of the summary record, and again when the user hits canc

Re: [S2] Infinite Recursion Detected error

2008-01-08 Thread srinivasch
debugging for this. My bad. Thanks Sri srinivasch wrote: > > Hi, > > I am getting the same error when running the junit test. > Infinite recursion detected: [/login!input, /exceptionHandler, > /exceptionHandler] - [unknown location] > at > com.opensymphony.xwork2.A

Re: [S2] Infinite Recursion Detected error

2008-01-03 Thread srinivasch
Hi, I am getting the same error when running the junit test. Infinite recursion detected: [/login!input, /exceptionHandler, /exceptionHandler] - [unknown location] at com.opensymphony.xwork2.ActionChainResult.execute(ActionChainResult.java:207) at com.opensymphony.xwork2.Default