dgraham 2003/07/09 20:03:02
Modified: src/share/org/apache/struts/tiles/actions TilesAction.java
Log:
Removed deprecated perform() method.
Revision Changes Path
1.7 +5 -35
jakarta-struts/src/share/org/apache/struts/tiles/actions/TilesAction.java
Index: TilesAction.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/actions/TilesAction.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TilesAction.java 10 Jul 2003 03:01:27 -0000 1.6
+++ TilesAction.java 10 Jul 2003 03:03:02 -0000 1.7
@@ -61,8 +61,6 @@
package org.apache.struts.tiles.actions;
-import java.io.IOException;
-
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -88,7 +86,7 @@
/**
* Original Struts Action's method.
* Retrieve current Tile context and call TilesAction execute method.
- * Do not overload this method !
+ * Do not overload this method!
*
* @param mapping The ActionMapping used to select this instance.
* @param form The optional ActionForm bean for this request (if any).
@@ -142,34 +140,6 @@
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
-
- return perform(context, mapping, form, request, response);
- }
-
- /**
- * Process the specified HTTP request and create the corresponding HTTP
- * response (or forward to another web component that will create it).
- * Return an <code>ActionForward</code> instance describing where and how
- * control should be forwarded, or <code>null</code> if the response has
- * already been completed.
- *
- * @param context The current Tile context, containing Tile attributes.
- * @param mapping The ActionMapping used to select this instance.
- * @param form The optional ActionForm bean for this request (if any).
- * @param request The HTTP request we are processing.
- * @param response The HTTP response we are creating.
- *
- * @exception IOException if an input/output error occurs
- * @exception ServletException if a servlet exception occurs
- * @deprecated Use the <code>execute()</code> method instead
- */
- public ActionForward perform(
- ComponentContext context,
- ActionMapping mapping,
- ActionForm form,
- HttpServletRequest request,
- HttpServletResponse response)
- throws IOException, ServletException {
return null;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]