Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 635 Bytes

baseaction.rst

File metadata and controls

35 lines (18 loc) · 635 Bytes

BaseAction

BaseAction is a support class to use in place of ActionSupport

Methods:

void setValueStackParam( String key, Object value )

sets a java object directly in the ValueStack, on jsp is possible to get the object as usual.

Note

is not the same as request.setAttribute(key, value)!!!

String parameter( String name, String defaultValue )

return a parameter directly from the parameters map as String, if not present return defaultValue

Objects ready to use:

HttpServletRequest request
String forward