Hello friends when you work on Struts request property  then you can get the value of form by
<s:property value="a"/>
Same question arise by my friends :
Can anybody tell how to assign a value coming from "<s:property value="a">" into jsp variable ?
You can use the following to get the value in to variable
how to Get value of struts property tag into jsp variable,Get value of struts property tag into jsp variable,value of struts property tag into jsp variable,struts property tag into jsp variable,property tag into jsp variable,

For example there is a string avalue,
String avalue="";
Now you can assign a property value to it by using,
<s:property value="a"/>avalue=request.getAttribute("a");
above will gives the property value to a string variable. otherwise you can set the value and then assign it through getAttribute
0

Add a comment

Contributors
Contributors
Popular Posts
Popular Posts
Archive
Labels
Labels
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.