Hello,
I try to paging with struts2.
In order to do this,I have to get current action url,then add parameter to this (for ex. www.test.com/test.action)...
The problem is on the current URL.
I get URL in Action class
//
actionURL = request.getServletPath(); or actionURL = request.getRequestURL()
if (request.getQueryString() != null) {
actionURL += "?" + request.getQueryString();
}
<s:a href="%{linkx}"><font color="red" size="4"><s:property value="#stat.count"/></font></s:a> but this anchor href is seen in page = http://test.action?page=1