| org.strecks.page.Page
All known Subclasses: org.strecks.controller.impl.SimplePage, org.strecks.actiontest.pages.MessagePage, org.strecks.actiontest.pages.NavigableFormPage,
Page | public interface Page (Code) | | Interface representing a page class that sits behind a JSP at the view layer. Note that because this is part of the
"View" it is perfectly acceptable to generate marked up page content from implementations of this interface where
necessary. Provides a mechanism for Java-based view content generation, which can be useful at times, especially for
outputting text which would otherwise require verbose JSP logic tags in the markup.
Note that a PageClass maintains a reference to the JSP's location within the web application folder
structure, which can be accessed using getPagePath()
author: Phil Zoio |
getPagePath | String getPagePath()(Code) | | Implementations must return a JSP path, which is the default view for this page class. Path should be relative to
base path of JSP classes
|
setHttpServletResponse | void setHttpServletResponse(HttpServletResponse response)(Code) | | Sets the HttpServletResponse, useful for rewriting any generated URLs
|
|
|