April 19, 2019
Hot Topics:

Working with the WebWork Framework

  • August 29, 2005
  • By Vlad Kofman
  • Send Email »
  • More Articles »


<title>WebWork in Action</title>
<p>Click the button below to activate HelloAction.</p>
<form action="helloAction.action" method="post">
   <p><input type="text" name="name"/><input type="submit" /></p>

The success.jsp is more interesting because it uses WebWork tag libs and gets values from the response.

<%@ taglib uri="/WEB-INF/webwork.tld" prefix="ww" %>
<title>WebWork in Action result</title>
<ww:property value="greeting" /><ww:property value="name" />

Here is the working version


In this article, I have shown how to set up and configure a project with the WebWork framework. I have also shown a sample application that uses actions and accesses an action's property using tags. This approach can (and should) be expanded when developing your applications. The WebWork framework provides a powerful mechanism for building robust Web applications that I only began to discuss here. The framework has a lot more features to offer for building robust Web applications. If you are looking for a Java Web development framework, you definitely should consider WebWork.

Download the source code here.


Wikipedia online: http://en.wikipedia.org/wiki/


WebWork: http://www.opensymphony.com/webwork/

About the Author

Vlad Kofman is a Senior System Architect working on projects under government defense contracts. He has also been involved with enterprise-level projects for major Wall Street firms and the U.S. government. His main interests are object-oriented programming methodologies and design patterns.

Page 3 of 3

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date