JSP creation mode

The struts-layout library has a special creation mode allowing the page author to create and test jsp pages using the struts-layout tags without having the actions, forms and objects behind. This allows for some people to write the application and for some others to make the jsp pages, thus saving time. If the pages are developed with Dreamweaver Ultradev and Ultradev's tag library extension, this allows the page designer to design screens without having to install the full application.

To set the struts-layout library in creation mode, set a servlet context attribute with the name struts-layout-mode to the value noerror. In this mode:

  • the <layout:collection> tag returns a default collection containing 6 elements. Any property can be called on those elements.
  • the <layout:form> tag use a default action and a default form. Any property can be displayed.