BBjspCommandResult (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 16.0 and higher, this class provides a mechanism for a BBjspCommand to control the flow from the command's execution. When a BBjspCommand is executed by the BBJSP framework, the BBjspCommandContext is passed as a parameter to the BBjspCommand::execute method from which a BBjspCommandResult can be obtained.
Creation
BBJSP > BBjspCommandContext > BBjspCommandResult
The BBjspCommandResult is created through the following BBjspCommandContext method:
Return Value |
Method |
---|---|
BBjspCommandResult |
Methods of BBjspCommandResult
Return Value |
Method |
---|---|
void |
addError(string key, string message) |
void |
addMessage(string key, string message) |
void |
addParameter(string name, string value) |
string |
|
void |
setForward(string forward) |
Example
|