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/content-server/src/java/org/apache/jetspeed/contentserver ContentFilter.java
Date Sun, 01 Aug 2004 15:41:04 GMT
weaver      2004/08/01 08:41:04

  Modified:    content-server/src/java/org/apache/jetspeed/contentserver
                        ContentFilter.java
  Log:
  Correctly handle non-existant resources
  
  Revision  Changes    Path
  1.10      +4 -2      jakarta-jetspeed-2/content-server/src/java/org/apache/jetspeed/contentserver/ContentFilter.java
  
  Index: ContentFilter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/content-server/src/java/org/apache/jetspeed/contentserver/ContentFilter.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ContentFilter.java	27 Jul 2004 13:42:13 -0000	1.9
  +++ ContentFilter.java	1 Aug 2004 15:41:04 -0000	1.10
  @@ -120,7 +120,9 @@
                   httpResponse.setStatus(HttpServletResponse.SC_OK);
               } else
               {
  -                chain.doFilter(request, response);
  +               // chain.doFilter(request, response);
  +                httpResponse.setStatus(HttpServletResponse.SC_NOT_FOUND);
  +                
               }
               return;
           }
  
  
  

---------------------------------------------------------------------
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