Struts2.5.10.1 core jar missing xwork2 dispatcher package

449 views Asked by At

I see the Struts2.5.10.1 core jar is missing the dispatcher package. I have the below code in my JSP and it does not work anymore. Could anyone answer me what would be the correct code to write here?

<s:set var="url" value="%{#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest'].requestURL}"/>

Answer: Below is the code template used. I removed un-required code and replaced it with '...'.

The Result is that I got a complete link: http://localhost:8080/.../param1=val1&param2=val2

0

There are 0 answers