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, 04 Jan 2005 16:15:50 GMT
weaver      2005/01/04 08:15:50

  Modified:    portal/src/java/org/apache/jetspeed/engine/servlet
                        ServletRequestFactoryImpl.java
  Log:
  Consolidated session/request keys
  
  Revision  Changes    Path
  1.7       +3 -2      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ServletRequestFactoryImpl.java	24 Aug 2004 14:19:16 -0000	1.6
  +++ ServletRequestFactoryImpl.java	4 Jan 2005 16:15:50 -0000	1.7
  @@ -21,6 +21,7 @@
   import javax.servlet.ServletConfig;
   import javax.servlet.http.HttpServletRequest;
   
  +import org.apache.jetspeed.PortalReservedParameters;
   import org.apache.jetspeed.request.RequestContext;
   import org.apache.pluto.om.window.PortletWindow;
   
  @@ -56,7 +57,7 @@
           HttpServletRequest servletRequest = createRequest(request, window);
           
           // Set page encoding in order to parse the form data correctly        
  -        String preferedEnc = (String) request.getAttribute(RequestContext.PREFERED_CHARACTERENCODING_KEY);
  +        String preferedEnc = (String) request.getAttribute(PortalReservedParameters.PREFERED_CHARACTERENCODING_ATTRIBUTE);
           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