org.apache.struts.tiles
Interface Controller

All Known Implementing Classes:
ActionController, ControllerSupport, UrlController

public interface Controller

A controller is a piece of code called before rendering a jsp page. A controller can be associated to a tile. See or for association syntax.


Method Summary
 void perform(ComponentContext tileContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext)
          Method associated to a tile and called immediately before the tile is included.
 

Method Detail

perform

public void perform(ComponentContext tileContext,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.ServletContext servletContext)
             throws javax.servlet.ServletException,
                    java.io.IOException
Method associated to a tile and called immediately before the tile is included.

Parameters:
tileContext - Current tile context.
request - Current request
response - Current response
servletContext - Current servlet context
javax.servlet.ServletException
java.io.IOException


Copyright © 2000-2003 - Apache Software Foundation