Struts2, problem with 2 variables in one address.
- by tzim
Hi.
I'm using struts2, now in my jsp file i've got 2 variables:
${server_address}
${pageContext.request.contextPath}
Now i want to connect it in my tag:
<s:form action="%{server_address}%{pageContext.request.contextPath}/actionName.action">
But generated output looks like that:
<form method="post" action="http://10.0.0.5:8088/actionName.action" name="actionName" id="actionName">
There is no contextPath... How can i connect this two variable ?