Lesson 5: ViewsThere are some different technologies that you could use as the view, i.e., to construct the user interface: Lesson 5.1 - Java Server PagesJSP is the common choice, because most Java web developers are already familiar with the technology. This lesson assumes you already have experience with Java Server Pages and demonstrates how you can use the WebWork features in JSP, mostly by using WebWork tags. Go to lesson 4.1 (Currently named 4.x while documentation is being rewritten.) Lesson 5.2 - VelocityVelocity is a Java-based template engine that provides a simple, but powerful, template language that replaces JSP and allows for separation of concerns. This lesson assumes that you are already familiar with Velocity and teaches you how to use WebWork features from it. Go to lesson 4.2 (Currently named 4.x while documentation is being rewritten.) Lesson 5.3 - FreemarkerDesigned for MVC pattern, Freemarker is another Java-based template engine that provides a powerful template language that replaces JSP, but can remain JSP-compatible with a JSP taglib support. This lesson teaches you how to use WebWork and Freemarker together. Go to lesson 5.3 (Currently named 4.x while documentation is being rewritten.) |