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: Actions
Affects Versions: 2.0.9
Environment: JDK 1.5.0_12,apache-tomcat-6.0.13,weblogic 9.2
Reporter: neo
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.