LSP pages can be used as a View technology in the Struts MVC framework.
Add the following element to your struts-config.xml
file:
<controller processorClass="nu.staldal.lsp.struts.LSPRequestProcessor"/>
This will recognize LSP pages using an .lsp
extension.
The compiled LSP pages should be placed in WEB-INF/classes
.
Place lsprt.jar
in the same place as struts.jar
.
Note: The Struts integration is rudimentary and not well tested. It should be considered beta. Feedback is welcome.