Struts2 table with paging ability provided by the pager tag library

I couldn't find any really good examples of using the Struts2 table tag plugin and so decided to provide one. I also didn't really like the implementation of the pager tag that comes with it and so decided to incorporate the pager tag library from JSPTags instead. While this does tie your action to the HttpServletRequest object I found the tag to be easier to understand and use than the one provided by the Struts2 table tag. I also think it is probably possible to not tie yourself to the HttpServletRequest object but I dodn't have that requirement.

Read More

Struts2 s:include and passing parameters

While using the Struts2 <s:include ... > tag with the <s:param ... > I found that I had to convert from Struts2 into JSP and then back into Struts2. This is how I did it and I haven't found a better way so far, the documentation suggested that I am doing it the right way but there may be a more Struts2-ey way.

Read More