You can get a HttpServletRequest
object in JSP from the action context with com.opensymphony.xwork2.dispatcher.HttpServletRequest
key or by using static property of StrutsStatics
interface.
<s:textfield value="%{#context[@org.apache.struts2.StrutsStatics@HTTP_REQUEST].getRemoteUser()}"/>