public class

JSP

extends ActionSupport
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ webwork.action.standard.JSP

Class Overview

JSP execution wrapper. This action allows JSP pages to be executed as actions.

The JSP page should set the request attribute "result" to the result status. Well defined result status constants are defined in the Action interface.
See Also

Summary

Nested Classes
class JSP.WrapperHttpServletResponse Response wrapper. 
[Expand]
Inherited Constants
From interface webwork.action.Action
[Expand]
Inherited Fields
From class webwork.action.ActionSupport
Public Constructors
JSP()
Public Methods
String execute()
Execute the wrapper.
String getPage()
Get name of the page that is wrapped
void setPage(String aPageName)
Set the name of the page that is to be executed.
[Expand]
Inherited Methods
From class webwork.action.ActionSupport
From class java.lang.Object
From interface webwork.action.Action
From interface webwork.action.IllegalArgumentAware

Public Constructors

public JSP ()

Public Methods

public String execute ()

Execute the wrapper. This will forward to the given JSP-page, which then can execute arbitrary code (possibly using tag libraries). The JSP page should then set the "result" request attribute to the result state of the execution.

Any content generated by the JSP page will be thrown away.
Returns
  • view
Throws
Exception

public String getPage ()

Get name of the page that is wrapped

public void setPage (String aPageName)

Set the name of the page that is to be executed.