I am calling request.setAttribute(...) in the method that returns success . i.e in execute method before returning success. I am not understanding why it is failing to set request attributes.
We are using Struts 2 Dispatcher Result to forward our request to some jsp page.
In struts.xml
Now we are able to see success.jsp but the request attributes we set are becoming null in success.jsp
We used dispatcher because we need the same request to be forwarded so that the request attributes we set can be retrieved in success.jsp But it is not happening and we are getting nulls instead.
While doing manually I found out in the Summary section of the last page of Install Application Assistant that Copy this application to every target for me
is mentioned against Staging mode:
So I checked the WLST manual and found out that deploy function accepts stageMode parameter and the value of STAGE for stageMode parameter means what I want!
I want to remove dependency on the location of EAR file while deploying it into WebLogic Server using WLST scripts.
While doing manually we can select the radio button - Copy this application onto every target for me in the Source accessibility section of Install Application Assistant.
Now the question is: how to achieve the same using WLST deploy command?
I tried recording option in WL 10 to see how the WLST script would be while deploying but its not recording properly.