Creating dynamic URL with 2 action parameters in Struts 2 using OGNL [duplicate]
问题 This question already has answers here : Passing parameters in URL without query string in Struts 2 (2 answers) Closed 2 years ago . If I have a url: www.myurl.com/books and want to be able to create new <s:url> filtering on author and year: www.myurl.com/books/Sartre/1942 by passing Sartre and 1942 as parameters to the action class which will render the books page with the appropriate results. How to do this in Struts2? I have the backend logic in place so it would be great if: I could reuse