You cannot use ${...}
inside Struts2 tags and you need to swap '
and "
in test
attribute to correctly compare with one character string.
<input type="radio" id="new" value="n" <s:if test='patientSoapBean.radioInnerSubjective == "n"'>checked</s:if> name="patientSoapBean.radioInnerSubjective"/>
<label for="new">New</label>
And of course you need getters/setters for patientSoapBean
and radioInnerSubjective
.
BTW Struts2 has <s:radio>
tag which will check selected radio button.