getting null while using request.setattriubute value in struts2

I am working on struts2 and getting null value from set variable after using request.setattribute in struts2.

java code.

request.setattribute("newname","newfield");
session.put("helloform",helloform);

newfield is present in helloform so I put it in session.

jsp code

<s:set var="newname1" value"#request.newname"/>
<s:property value="newname1"/>
<s:property value="#session.helloform.newname1"/>
<s:property value="#session.helloform.newfield"/>

in jsp code 2nd line is printing "newfield" but 3rd line is not returning the value present in the variable "newfield" declared in "helloform" but on 4th line when I changed the newname1 with newfield it is returning the value present in that variable "newfield".