[jboss-cvs] jboss-portal/server/src/main/org/jboss/portal/server/servlet ...
Julien Viet
julien at jboss.com
Mon Aug 21 19:20:53 EDT 2006
User: julien
Date: 06/08/21 19:20:53
Modified: server/src/main/org/jboss/portal/server/servlet
CommandServlet.java
Log:
remove usage of contextPath information coming from the PortalWebApp and instead use information provided by the servlet container at runtime
Revision Changes Path
1.9 +2 -2 jboss-portal/server/src/main/org/jboss/portal/server/servlet/CommandServlet.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CommandServlet.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/server/src/main/org/jboss/portal/server/servlet/CommandServlet.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- CommandServlet.java 1 Jul 2006 21:59:11 -0000 1.8
+++ CommandServlet.java 21 Aug 2006 23:20:53 -0000 1.9
@@ -42,7 +42,7 @@
* and avoid class cast exception.
*
* @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class CommandServlet extends HttpServlet
{
@@ -80,7 +80,7 @@
try
{
localCmd.set(cmd);
- RequestDispatcher switcher = ctx.getNamedDispatcher("CommandServlet");
+ RequestDispatcher switcher = ctx.getRequestDispatcher("/jbossportlet");
dispatcher.include(switcher);
}
finally
More information about the jboss-cvs-commits
mailing list