org.apache.struts.tiles

Class ActionController

public class ActionController extends Object implements Controller

Struts wrapper implementation of Controller. This implementation wraps an Action in a Controller.
Field Summary
Actionaction
Struts action wrapped.
Constructor Summary
ActionController(Action action)
Constructor.
Method Summary
voidexecute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
voidperform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
Method associated to a tile and called immediately before tile is included.

Field Detail

action

private Action action
Struts action wrapped.

Constructor Detail

ActionController

public ActionController(Action action)
Constructor.

Parameters: action Action to be wrapped.

Method Detail

execute

public void execute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)

See Also: Controller

perform

public void perform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
Method associated to a tile and called immediately before tile is included. This implementation calls a Struts Action. No servlet is set by this method.

Parameters: tileContext Current tile context. request Current request. response Current response. servletContext Current servlet context.

Copyright © 2000-2008 - The Apache Software Foundation