portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet ServletRequestFactoryImpl.java
Date Tue, 24 Aug 2004 14:19:17 GMT
weaver      2004/08/24 07:19:17

  Modified:    portal/src/java/org/apache/jetspeed/engine/servlet
                        ServletRequestFactoryImpl.java
  Log:
  Move constants to interface.
  
  Revision  Changes    Path
  1.6       +5 -4      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestFactoryImpl.java
  
  Index: ServletRequestFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestFactoryImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ServletRequestFactoryImpl.java	12 Aug 2004 18:42:33 -0000	1.5
  +++ ServletRequestFactoryImpl.java	24 Aug 2004 14:19:16 -0000	1.6
  @@ -17,10 +17,11 @@
   
   import java.io.UnsupportedEncodingException;
   import java.util.Map;
  -import javax.servlet.http.HttpServletRequest;
  +
   import javax.servlet.ServletConfig;
  +import javax.servlet.http.HttpServletRequest;
   
  -import org.apache.jetspeed.request.JetspeedRequestContext;
  +import org.apache.jetspeed.request.RequestContext;
   import org.apache.pluto.om.window.PortletWindow;
   
   /**
  @@ -55,7 +56,7 @@
           HttpServletRequest servletRequest = createRequest(request, window);
           
           // Set page encoding in order to parse the form data correctly        
  -        String preferedEnc = (String) request.getAttribute(JetspeedRequestContext.PREFERED_CHARACTERENCODING_KEY);
  +        String preferedEnc = (String) request.getAttribute(RequestContext.PREFERED_CHARACTERENCODING_KEY);
           if (preferedEnc != null)
           {
               try
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message