[
https://issues.apache.org/struts/browse/WW-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso resolved WW-2237.
---------------------------------
Resolution: Not A Problem
> Cannot get the value from request pass by action
> ------------------------------------------------
>
> Key: WW-2237
> URL: https://issues.apache.org/struts/browse/WW-2237
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.0.9
> Environment: JDK 1.5.0_12,apache-tomcat-6.0.13,weblogic 9.2
> Reporter: neo
> Fix For: 2.1.4
>
>
> I have a action as following.
> public class TestAction extends ActionSupport{
> private String fieldA;
> //there are the geter and setter
> public String excute(){
> this.field="test";
> return SUCCESS;
> }
> }
> the code get ting the value of fieldA at success .jsp :
> String
> value=request.getParameter("fieldA")==null?request.getAttribute("fieldA")==null?"":(String)request.getAttribute("fieldA"):request.getParameter("fieldA");
> the config files are OK;
> the first I deploy the test case into tomcat,I can get the value of "fieldA";
> the second I deploy the same case into weblogic ,but I cannot get the value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.