struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java
Date Fri, 12 Jul 2002 15:47:02 GMT
craigmcc    2002/07/12 08:47:01

  Modified:    src/share/org/apache/struts/util RequestUtils.java
  Log:
  Fix forwardURL() and pageURL() to use the new "M" substitution character
  instead of "A" (reflecting the name change from sub-app to module).
  
  Funny thing ... it even makes the unit tests run again :-)
  
  Revision  Changes    Path
  1.48      +6 -6      jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
  
  Index: RequestUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- RequestUtils.java	10 Jul 2002 14:57:10 -0000	1.47
  +++ RequestUtils.java	12 Jul 2002 15:47:01 -0000	1.48
  @@ -1220,7 +1220,7 @@
                   char ch = forwardPattern.charAt(i);
                   if (dollar) {
                       switch (ch) {
  -                    case 'A':
  +                    case 'M':
                           sb.append(appConfig.getPrefix());
                           break;
                       case 'P':
  @@ -1280,7 +1280,7 @@
                   char ch = pagePattern.charAt(i);
                   if (dollar) {
                       switch (ch) {
  -                    case 'A':
  +                    case 'M':
                           sb.append(appConfig.getPrefix());
                           break;
                       case 'P':
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message