JSP support in WebWork is very easy: by default webwork-default.xml configures the Dispatcher Result as the default result (see Result Types). This means any JSP 1.2+ container can work with WebWork immediately.

Getting Started

Because JSP support occurs through the Dispatcher Result, which is the default result type, you don't need to specify the type attribute when configuration xwork.xml:

<action name="test" class="com.acme.TestAction">
    <result name="success">test-success.jsp</result>
</action>

Then in test-success.jsp:

<%@ taglib prefix="ww" uri="/webwork" %>

<html>
<head>
    <title>Hello</title>
</head>
<body>

Hello, <ww:property value="name"/>

</body>
</html>

Where name is a property on your action. That's it!

Tag Support

See the JSP Tags documentation for information on how to use the generic Tags provided by WebWork.