[jboss-cvs] jboss-portal/portlet/src/main/org/jboss/portal/portlet/impl/spi ...

Julien Viet julien at jboss.com
Mon Aug 21 19:20:53 EDT 2006


  User: julien  
  Date: 06/08/21 19:20:53

  Modified:    portlet/src/main/org/jboss/portal/portlet/impl/spi 
                        AbstractRequestContext.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.6       +1 -6      jboss-portal/portlet/src/main/org/jboss/portal/portlet/impl/spi/AbstractRequestContext.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AbstractRequestContext.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/impl/spi/AbstractRequestContext.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- AbstractRequestContext.java	31 Jul 2006 00:39:29 -0000	1.5
  +++ AbstractRequestContext.java	21 Aug 2006 23:20:52 -0000	1.6
  @@ -37,7 +37,7 @@
   
   /**
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   public class AbstractRequestContext implements RequestContext
   {
  @@ -183,11 +183,6 @@
         return getClientRequest().getServerPort();
      }
   
  -   public String getContextPath()
  -   {
  -      return getClientRequest().getContextPath();
  -   }
  -
      public void include(RequestDispatcher rd) throws IOException, ServletException
      {
         rd.include(getClientRequest(), getClientResponse());
  
  
  



More information about the jboss-cvs-commits mailing list