Author: chris.laprun(a)jboss.com
Date: 2008-01-17 19:34:07 -0500 (Thu, 17 Jan 2008)
New Revision: 9533
Modified:
modules/web/trunk/web/src/main/java/org/jboss/portal/web/command/CommandServlet.java
Log:
- Typo.
Modified:
modules/web/trunk/web/src/main/java/org/jboss/portal/web/command/CommandServlet.java
===================================================================
---
modules/web/trunk/web/src/main/java/org/jboss/portal/web/command/CommandServlet.java 2008-01-18
00:28:19 UTC (rev 9532)
+++
modules/web/trunk/web/src/main/java/org/jboss/portal/web/command/CommandServlet.java 2008-01-18
00:34:07 UTC (rev 9533)
@@ -22,19 +22,19 @@
******************************************************************************/
package org.jboss.portal.web.command;
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import javax.servlet.RequestDispatcher;
-import javax.servlet.ServletException;
-import javax.servlet.ServletContext;
import java.io.IOException;
-import java.lang.reflect.Method;
import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
/**
- * This servlet is used to execute command coming from another context through a
dispatching request.
- * The invocation is detyped in order to allow redeployment and avoid class cast
exception.
+ * This servlet is used to execute command coming from another context through a
dispatching request. The invocation is
+ * detyped in order to allow redeployment and avoid class cast exception.
*
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision: 1.1 $
@@ -53,18 +53,17 @@
/**
* <p>Execute a command after having performed a request dispatch in the target
servlet context.</p>
+ * <p/>
+ * <p>The provided callback argument must expose a public non static and non
abstract method with the signature
+ * <code>execute(HttpServletRequest,HttpServletResponse)</code>. This
method must return an object and can declare
+ * any exception. This method will be invoked after the request dispatch operation is
done.</p>
+ * <p/>
+ * <p>Any throwable thrown by the callback invocation will be wrapped in a
<code>ServletException</code> and
+ * rethrown, unless it is an instance of <code>ServletException</code> or
<code>IOException</code>.</p>
*
- * <p>The provided callback argment must expose a public non static and non
abstract method
- * with the signature
<code>execute(HttpServletRequest,HttpServletResponse)</code>.
- * This method must return an object and can declare any exception. This method will
be invoked
- * after the request dispatch operation is done.</p>
- *
- * <p>Any throwable thrown by the callback invocation will be wrapped in a
<code>ServletException</code>
- * and rethrown, unless it is an instance of <code>ServletException</code>
or <code>IOException</code>.</p>
- *
- * @param callback the callback to invoke after the inclusion is done
+ * @param callback the callback to invoke after the inclusion is done
* @param targetContext the target servlet context
- * @throws IOException likely thrown by the request dispatch operation
+ * @throws IOException likely thrown by the request dispatch operation
* @throws ServletException wraps any exception thrown by the callback
*/
public static Object include(
Show replies by date