public void perform(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext) throws IOException, ServletException {
RequestDispatcher rd = servletContext.getRequestDispatcher(url);
if (rd == null) {
throw new ServletException(
"Controller can't find url '" + url + "'.");
}
rd.include(request, response);
}
Method associated to a tile and called immediately before the tile
is included. This implementation calls an Action.
No servlet is set by this method. |