DO NOT REPLY [Bug 10149] New: - RequestProcessor.processException() throws NPE

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10149

RequestProcessor.processException() throws NPE

   Summary: RequestProcessor.processException() throws NPE
   Product: Struts
   Version: 1.1 Beta 1
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Controller
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


processException() throws a NPE if no config is specified for that Exception
Class.  I saw this mentioned on the mailling list, and found the problem.  The
unhandledException key is not in the ActionResources.properties.  After adding
it, the servlet seems to percolate fine, and the log message is made

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 10149] - RequestProcessor.processException() throws NPE

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10149

RequestProcessor.processException() throws NPE





--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 15:16 ---
I can't seem to upload the patch, so here it is instead.

Index: ActionResources.properties
===
RCS file:
/home/cvspublic/jakarta-struts/src/share/org/apache/struts/action/ActionResources.properties,v
retrieving revision 1.9
diff -u -r1.9 ActionResources.properties
--- ActionResources.properties  13 Jan 2002 00:25:35 -  1.9
+++ ActionResources.properties  22 Jun 2002 15:07:38 -
@@ -21,3 +21,4 @@
 reloading=Reloading from configuration files
 requestDispatcher=Cannot get request dispatcher for path {0}
 sessionCreate=No user session could be created
+unhandledException=Unhandled Exception thrown: {0}

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tiles DTD doesn't exist

2002-06-22 Thread James Holmes

Is this something we can fix?  This is something I
noticed as well and forgot to mention to Cedric or the
group.

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/


--- Struts Newsgroup <[EMAIL PROTECTED]> wrote:
> Subject: Tiles DTD doesn't exist
> From: "Matt Raible" <[EMAIL PROTECTED]>
>  ===
> I downloaded the latest release of Tiles from
> Cedric's site, and the
> following DTD doesn't exist:
> 
>
http://jakarta.apache.org/struts/dtds/tiles-config.dtd
> 
> Is there a publicly (internet) available DTD?
> 
> Thanks,
> 
> Matt
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: JSTL

2002-06-22 Thread Craig R. McClanahan


On Fri, 21 Jun 2002, Shawn Bayern wrote:

> Date: Fri, 21 Jun 2002 19:36:56 -0400 (EDT)
> From: Shawn Bayern <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: JSTL
>
> Struts developers,
>
> I've just announced the final 1.0 release of the Standard Taglib at
> Jakarta Taglibs (see announcement below).  The Standard Taglib is an
> implementation of the JSP Standard Tag Library (JSTL).
>
> Concerning integration between JSTL and Struts in the future, I'm happy to
> coordinate with anyone who has questions about JSTL.  I'm not currently on
> the struts-dev mailing list, but I can join if you guys think it would be
> worthwhile.  Either way, feel free to contact me if you've got any
> questions.
>

One thing I'd like to see done is to have all the Struts tags that use the
"name/property/scope" pattern of attributes (for access to bean
properties) also support a "var" attribute that understands the expression
language syntax from JSTL.  That way, page authors could start
transitioning to this style while keeping the functionality of their
existing Struts tags, and/or develop pages where JSTL and Struts tags can
easily interoperate.  It would be cool if Shawn could assist in making the
EL evaluation engine (from the standard taglib) available separately --
something we've talked about on occasion -- and assisting in updating a
couple of existing tags as a model.  (NOTE - this is for delivery in a
post-1.1 release as far as I'm concerned.)

Over the longer term, I see the use of JSTL replacing pretty much all of
the bean and logic taglibs in Struts -- we need to make this transition as
easy as possible.


> Best,
>
> Shawn
>

Craig


> -- Forwarded message --
> Date: Fri, 21 Jun 2002 19:35:25 -0400 (EDT)
> From: Shawn Bayern <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [ANNOUNCE] JSTL implementation available (Jakarta Taglibs)
>
> Struts users,
>
> As the JSP Standard Tag Library (JSTL) has hit each major milestone, I've
> mailed this list to notify you of its progress.  Now, I have more good
> news.
>
> JSTL 1.0 was finalized in May 2002.  Today, Jakarta Taglibs released
> version 1.0 of its "Standard Taglib," an implementation of JSTL.  (The
> implementation at Jakarta Taglibs is also the basis for Sun's reference
> implementation of JSTL, which was bundled with the Web Services Developer
> Pack earlier in June.)
>
> You can download the 1.0 release of the Standard Taglib at
>
>http://jakarta.apache.org/builds/jakarta-taglibs/releases/standard/
>
> The Standard Taglib requires JSP 1.2; it has been tested with Tomcat
> 4.0.4.  (Earlier versions of Tomcat may have trouble loading the JAXP 1.2
> classes included with our distribution, so I recommend using Tomcat 4.0.4.
> A set of older XML files is available from the URL above if you want to
> use an older version of Tomcat.)
>
> Please direct JSTL questions to the [EMAIL PROTECTED]
> mailing list.  I'm happy to answer JSTL questions personally, though for
> detailed discussion, I might refer you to the list.
>
> For general information about JSTL, as well as a link to the formal
> specification, pointers to upcoming books on JSTL, and current articles,
> see
>
> http://java.sun.com/products/jsp/jstl/
>
> If you have any comments for future versions of JSTL, you can submit them
> to our expert group by mailing [EMAIL PROTECTED]
>
> Enjoy,
>
> --
> Shawn Bayern
> JSTL reference implementation lead
> Author, "JSTL in Action"   http://www.manning.com/bayern   (July 2002)
>
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionResources.properties

2002-06-22 Thread craigmcc

craigmcc2002/06/22 13:39:48

  Modified:src/share/org/apache/struts/action
ActionResources.properties
  Log:
  Add error message for unhandled exceptions that was causing NPE in the
  processException() method.
  
  PR: Bugzilla #10149
  Submitted by: Scott Carlson 
  
  Revision  ChangesPath
  1.10  +1 -0  
jakarta-struts/src/share/org/apache/struts/action/ActionResources.properties
  
  Index: ActionResources.properties
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionResources.properties,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ActionResources.properties13 Jan 2002 00:25:35 -  1.9
  +++ ActionResources.properties22 Jun 2002 20:39:48 -  1.10
  @@ -21,3 +21,4 @@
   reloading=Reloading from configuration files
   requestDispatcher=Cannot get request dispatcher for path {0}
   sessionCreate=No user session could be created
  +unhandledException=Unhandled Exception thrown: {0}
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 10149] - RequestProcessor.processException() throws NPE

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10149

RequestProcessor.processException() throws NPE





--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 20:40 ---
Fixed in nightly build 20020623.  Thanks for the patch!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 10149] - RequestProcessor.processException() throws NPE

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10149

RequestProcessor.processException() throws NPE

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/test/org/apache/struts/action TestActionMessage.java TestActionMessages.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 13:50:36

  Modified:.build-tests.xml
  Added:   src/test/org/apache/struts/action TestActionMessage.java
TestActionMessages.java
  Log:
  Add test cases for o.a.s.a.ActionMessage and o.a.s.a.ActionMessages.
  
  PR: Bugzilla #10129 (thanks for the tests!)
  Submitted by: Dominique Plante 
  
  Revision  ChangesPath
  1.4   +7 -3  jakarta-struts/build-tests.xml
  
  Index: build-tests.xml
  ===
  RCS file: /home/cvs/jakarta-struts/build-tests.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build-tests.xml   16 Jun 2002 04:02:38 -  1.3
  +++ build-tests.xml   22 Jun 2002 20:50:36 -  1.4
  @@ -227,9 +227,13 @@
   
   
   
  -
  -
  -
  +
  +
  +  
  +
  +  
  +
  +
   
   
 
  
  
  
  1.1  
jakarta-struts/src/test/org/apache/struts/action/TestActionMessage.java
  
  Index: TestActionMessage.java
  ===
  /*
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   "This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/)."
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Struts", and "Apache Software
   *Foundation" must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called "Apache"
   *nor may "Apache" appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * .
   *
   */
  
  package org.apache.struts.action;
  
  import junit.framework.*;
  
  /**
   * Unit tests for the org.apache.struts.action.ActionMessage class.
   *
   * @author Dominique Plante
   * @version $Revision: 1.1 $ $Date: 2002/06/22 20:50:36 $
   */
  
  public class TestActionMessage extends TestCase
  {
protected ActionMessage amWithNoValue = null;
protected ActionMessage amWithOneValue = null;
  /**
   * Defines the testcase name for JUnit.
   *
   * @param theName the testcase's name.
   */
public TestActionMessage(String theName)
{
super(theName);
}
  
  /**
   * Start the tests.
   *
   * @param theArgs the arguments. Not used
   */
  public static void main(String[] theArgs)
  {
  junit.awtui.TestRunner.main(new String[] 
{TestActionMessage.class.getName()});
  }
  
  /**
   * @return a test suite (TestSuite) that i

DO NOT REPLY [Bug 10129] - some unit tests for ActionMessage and ActionMessages

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10129

some unit tests for ActionMessage and ActionMessages

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 20:51 ---
Added in nightly build 20020623.  Thanks for the tests!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/test/org/apache/struts/taglib/logic TestEqualTag.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 14:34:33

  Modified:src/test/org/apache/struts/taglib/logic TestEqualTag.java
  Log:
  Added tests for cookie, header, and parameter comparisons.
  
  Pretty-printed all of the test methods.
  
  PR: Bugzilla #10098 (thanks for the tests!)
  Submitted by: Dominique Plante 
  
  Revision  ChangesPath
  1.3   +214 -52   
jakarta-struts/src/test/org/apache/struts/taglib/logic/TestEqualTag.java
  
  Index: TestEqualTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/test/org/apache/struts/taglib/logic/TestEqualTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestEqualTag.java 26 Dec 2001 21:55:55 -  1.2
  +++ TestEqualTag.java 22 Jun 2002 21:34:33 -  1.3
  @@ -55,6 +55,9 @@
   package org.apache.struts.taglib.logic;
   
   import javax.servlet.*;
  +import javax.servlet.http.HttpSession;
  +import javax.servlet.jsp.JspException;
  +import javax.servlet.jsp.PageContext;
   
   import junit.framework.*;
   import org.apache.cactus.*;
  @@ -64,8 +67,27 @@
* org.apache.struts.taglib.logic.EqualTag class.
*
* @author David Winterfeldt
  + * @author Dominique Plante
*/
   public class TestEqualTag extends JspTestCase {
  +
  +protected final static String COOKIE_KEY =
  +"org.apache.struts.taglib.logic.COOKIE_KEY";
  +protected final static String HEADER_KEY =
  +"org.apache.struts.taglib.logic.HEADER_KEY";
  +protected final static String PARAMETER_KEY =
  +"org.apache.struts.taglib.logic.PARAMETER_KEY";
  +
  +protected final static String testStringKey = "testString";
  +protected final static String testStringValue = "abc";
  +protected final static String testStringValue1 = "abcd";
  +protected final static String testIntegerKey = "testInteger";
  +protected final static Integer testIntegerValue = new Integer(21);
  +protected final static Integer testIntegerValue1 =
  +new Integer(testIntegerValue.intValue() + 1);
  +
  +protected EqualTag et = null;
  +
   /**
* Defines the testcase name for JUnit.
*
  @@ -93,73 +115,213 @@
   return new TestSuite(TestEqualTag.class);
   }
   
  -//- Test initApplication() method --
  -
  -/**
  - * Verify that two Strings match using the EqualTag.
  - */
  -public void testStringEquals() throws ServletException,  
javax.servlet.jsp.JspException {
  -EqualTag et = new EqualTag();
  -String testStringKey = "testString";
  -String testStringValue = "abc";
  -
  -request.setAttribute(testStringKey, testStringValue);
  +public void setUp() {
  +et = new EqualTag();
   et.setPageContext(pageContext);
  - et.setName(testStringKey);
  - et.setValue(testStringValue);
  - 
  -assertEquals("String equals comparison", true, et.condition(0, 0));
  +
   }
   
  -/**
  - * Verify that two Strings do not match using the 
EqualTag.
  - */
  -public void testStringNotEquals() throws ServletException,  
javax.servlet.jsp.JspException {
  -EqualTag et = new EqualTag();
  -String testStringKey = "testString";
  -String testStringValue = "abc";
  -String testStringValue1 = "abcd";
  -
  -request.setAttribute(testStringKey, testStringValue);
  -et.setPageContext(pageContext);
  - et.setName(testStringKey);
  - et.setValue(testStringValue1);
  - 
  -assertEquals("String not equals comparison", false, et.condition(0, 0));
  +public void tearDown() {
  +et = null;
   }
   
  -/**
  - * Verify that an Integer and a String
  - * match using the EqualTag.
  - */
  -public void testIntegerEquals() throws ServletException,  
javax.servlet.jsp.JspException {
  -EqualTag et = new EqualTag();
  -String testIntegerKey = "testInteger";
  -Integer testIntegerValue = new Integer(21);
  -
  +
  +
  +// --- Cookie String Equals
  +
  +
  +public void beginCookieStringEquals(WebRequest testRequest) {
  +
  +testRequest.addCookie(COOKIE_KEY, "abc");
  +
  +}
  +
  +
  +public void testCookieStringEquals()
  +throws ServletException, JspException {
  +
  +et.setCookie(COOKIE_KEY);
  +et.setValue(testStringValue);
  +
  +assertEquals("Cookie string equals comparison", true,
  + et.condition(0, 0));
  +
  +}
  +
  +
  +// --- Cookie String Not Equals
  +
  +
  +public void beginCookieStringNotEquals(WebRequest testRequest) {
  +
  +testRequest

DO NOT REPLY [Bug 10098] - [PATCH] More logic:equals tag tests

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10098

[PATCH] More logic:equals tag tests

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 21:35 ---
Added in nightly build 20020623.  Thanks!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 10099] - Some tests for logic:notEqual tag

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10099

Some tests for logic:notEqual tag

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 21:40 ---
Added in nightly build 20020623.  Thanks!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/test/org/apache/struts/taglib/logic TestNotEqualTag.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 14:39:51

  Added:   src/test/org/apache/struts/taglib/logic TestNotEqualTag.java
  Log:
  Add tests for o.a.s.t.l.NotEqualsTag.
  
  PR: Bugzilla #10099 (thanks!)
  Submitted by: Dominique Plante 
  
  Revision  ChangesPath
  1.1  
jakarta-struts/src/test/org/apache/struts/taglib/logic/TestNotEqualTag.java
  
  Index: TestNotEqualTag.java
  ===
  /*
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   "This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/)."
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Struts", and "Apache Software
   *Foundation" must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called "Apache"
   *nor may "Apache" appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * .
   *
   */
  package org.apache.struts.taglib.logic;
  
  import javax.servlet.*;
  import javax.servlet.http.HttpSession;
  import javax.servlet.jsp.PageContext;
  
  import junit.framework.*;
  import org.apache.cactus.*;
  
  /**
   * Suite of unit tests for the
   * org.apache.struts.taglib.logic.NotEqualTag class.
   * @author Dominique Plante
   */
  public class TestNotEqualTag extends JspTestCase {
  protected final static String COOKIE_KEY = 
"org.apache.struts.taglib.logic.COOKIE_KEY";
  protected final static String HEADER_KEY = 
"org.apache.struts.taglib.logic.HEADER_KEY";
  protected final static String PARAMETER_KEY = 
"org.apache.struts.taglib.logic.PARAMETER_KEY";
  protected NotEqualTag net = null;
  protected static String testStringKey;
  protected static String testStringValue;
  protected static String testStringValue1;
  protected static String testIntegerKey;
  protected static Integer testIntegerValue;
  protected static Integer testIntegerValue1;
  
  /**
   * Defines the testcase name for JUnit.
   *
   * @param theName the testcase's name.
   */
  public TestNotEqualTag(String theName) {
  super(theName);
  }
  
  /**
   * Start the tests.
   *
   * @param theArgs the arguments. Not used
   */
  public static void main(String[] theArgs) {
  junit.awtui.TestRunner.main(new String[] {TestEqualTag.class.getName()});
  }
  
  /**
   * @return a test suite (TestSuite) that includes all methods
   * starting with "test"
   */
  public static Test suite() {
  // All methods starting with "test" will be executed in the test suite.
  return new TestSuite(Tes

cvs commit: jakarta-struts build-tests.xml

2002-06-22 Thread craigmcc

craigmcc2002/06/22 14:45:13

  Modified:.build-tests.xml
  Log:
  Add commons-httpclient.jar to the JUnit classpath.
  
  PR: Bugzilla #10093
  Submitted by: Dominique Plante 
  
  Revision  ChangesPath
  1.5   +1 -0  jakarta-struts/build-tests.xml
  
  Index: build-tests.xml
  ===
  RCS file: /home/cvs/jakarta-struts/build-tests.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build-tests.xml   22 Jun 2002 20:50:36 -  1.4
  +++ build-tests.xml   22 Jun 2002 21:45:13 -  1.5
  @@ -219,6 +219,7 @@
   
   
   
  +
   
   
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 10093] - ANT build target test.tomcat.40 does not work

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10093

ANT build target test.tomcat.40 does not work

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 21:46 ---
Fixed in nightly build 20020623, although this target (and test.tomcat.41) were
already working for me.  Could you please retest to ensure that it's fixed for you?

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 10027] - Locked file struts.jar after Tomcat manager/stop and manager/remove

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10027

Locked file struts.jar after Tomcat manager/stop and manager/remove

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 21:49 ---
This is purely a Tomcat issue, so I'm closing the Struts-related bug report.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html OptionsCollectionTag.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 14:54:56

  Modified:doc/userGuide struts-html.xml
   src/share/org/apache/struts/taglib/html
OptionsCollectionTag.java
  Log:
  Add "filter" attribute on  tag.
  
  PR: Bugzilla #10106
  Submitted by: Ian Tomey 
  
  Revision  ChangesPath
  1.10  +11 -0 jakarta-struts/doc/userGuide/struts-html.xml
  
  Index: struts-html.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- struts-html.xml   22 Apr 2002 20:59:19 -  1.9
  +++ struts-html.xml   22 Jun 2002 21:54:56 -  1.10
  @@ -4086,6 +4086,17 @@
   
   
   
  +filter
  +false
  +true
  +
  +Set to false if you do NOT want the option labels
  +filtered for sensitive characters in HTML.  By default, such
  +values are filtered.
  +
  +
  +
  +
   label
   false
   true
  
  
  
  1.4   +21 -2 
jakarta-struts/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java
  
  Index: OptionsCollectionTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/OptionsCollectionTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- OptionsCollectionTag.java 13 May 2002 02:03:33 -  1.3
  +++ OptionsCollectionTag.java 22 Jun 2002 21:54:56 -  1.4
  @@ -109,6 +109,20 @@
   
   
   /**
  + * Should the label values be filtered for HTML sensitive characters?
  + */
  +protected boolean filter = true;
  +
  +public boolean getFilter() {
  +return filter;
  +}
  +
  +public void setFilter(boolean filter) {
  +this.filter = filter;
  +}
  +
  +
  +/**
* The name of the bean property containing the label.
*/
   protected String label = "label";
  @@ -307,6 +321,7 @@
*/
   public void release() {
   super.release();
  +filter = true;
   label = "label";
   name = Constants.BEAN_KEY;
   property = null;
  @@ -347,7 +362,11 @@
   sb.append("\"");
   }
   sb.append(">");
  -sb.append(ResponseUtils.filter(label));
  +if (filter) {
  +sb.append(ResponseUtils.filter(label));
  +} else {
  +sb.append(label);
  +}
   sb.append("\r\n");
   
   }
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 10106] - html:optionscollection needs a 'filter' property

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10106

html:optionscollection needs a 'filter' property

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 21:55 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9942] - Powered by Struts

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9942

Powered by Struts

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9933] - add a new resource to Contributor Extensions

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9933

add a new resource to Contributor Extensions

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 15:06:33

  Modified:src/share/org/apache/struts/taglib/html FormTag.java
  Log:
  Do not try to set focus on a hidden field.
  
  PR: Bugzilla #10005
  Submitted by: James Mitchell 
  
  Revision  ChangesPath
  1.20  +13 -4 
jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
  
  Index: FormTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- FormTag.java  22 Mar 2002 23:47:18 -  1.19
  +++ FormTag.java  22 Jun 2002 22:06:33 -  1.20
  @@ -652,6 +652,15 @@
results.append("

DO NOT REPLY [Bug 10005] - JavaScript error when using Form Tag focus attribute in combination with hidden elements that specify write=true.

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10005

JavaScript error when using Form Tag focus attribute in combination with hidden 
elements that specify write=true.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 22:06 ---
Fixed in nightly build 20020623.  Thanks!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 15:19:13

  Modified:src/share/org/apache/struts/util RequestUtils.java
  Log:
  Make selectApplication() work correctly when running in the target of a
  RequestDispatcher.include() call (including use inside Tiles).
  
  PR: Bugzilla #8768
  Submitted by: Ian Tomey 
  
  Revision  ChangesPath
  1.39  +10 -5 
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.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- RequestUtils.java 16 Jun 2002 05:56:05 -  1.38
  +++ RequestUtils.java 22 Jun 2002 22:19:13 -  1.39
  @@ -97,6 +97,7 @@
   import org.apache.struts.action.ActionServlet;
   import org.apache.struts.action.ActionServletWrapper;
   import org.apache.struts.action.DynaActionFormClass;
  +import org.apache.struts.action.RequestProcessor;
   import org.apache.struts.config.ApplicationConfig;
   import org.apache.struts.config.FormBeanConfig;
   import org.apache.struts.taglib.html.Constants;
  @@ -1262,7 +1263,11 @@
ServletContext context) {
   
   // Acquire the path used to compute the sub-application
  -String matchPath = request.getServletPath();
  +String matchPath = (String)
  +request.getAttribute(RequestProcessor.INCLUDE_SERVLET_PATH);
  +if (matchPath == null) {
  +matchPath = request.getServletPath();
  +}
   
   // Match against the list of sub-application prefixes
   String prefix = "";
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 8768] - RequestUtils.selectApplication not working correctly for included actions

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8768

RequestUtils.selectApplication not working correctly for included actions

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 22:19 ---
Fixed in nightly build 20020623.  Thanks!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 8628] - Setter methods not found

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8628

Setter methods not found





--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 22:24 ---
Can you put together a small test case that illustrates this problem?  It is
difficult to tell what might be going on without being able to see the kinds of
form beans you are talking about, and the stack trace for the exception you are
getting.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 8487] - Serializability issues in ActionServlet/RequestProcessor

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8487

Serializability issues in ActionServlet/RequestProcessor





--- Additional Comments From [EMAIL PROTECTED]  2002-06-22 22:33 ---
It is not clear to me why WebLogic is trying to serialize a servlet context
attribute in the first place.  That is generally done only for *session*
attributes in a distributed environment.  Is there any configuration parameter
to turn this behavior off?

Note that simply declaring the offending attributes "transient" is not a real
solution -- although you can successfully serialize this component, an attempt
to deserialize it later, and reference the transient property, will cause a
NullPointerException because the code of the component assumes that the log (for
example) is always initialized.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/bean DefineTag.java LocalStrings.properties

2002-06-22 Thread craigmcc

craigmcc2002/06/22 17:07:16

  Modified:doc/userGuide struts-bean.xml
   src/share/org/apache/struts/taglib/bean DefineTag.java
LocalStrings.properties
  Log:
  Envorce the restriction that you can only set the value of the attribute
  and scripting variable created by  in exactly one of the three
  possible ways (name/property/scope, value, or nested body content).
  
  PR: Bugzilla #8484
  Submitted by: David M. Karr 
  
  Revision  ChangesPath
  1.3   +23 -17jakarta-struts/doc/userGuide/struts-bean.xml
  
  Index: struts-bean.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-bean.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- struts-bean.xml   21 Feb 2002 17:49:02 -  1.2
  +++ struts-bean.xml   23 Jun 2002 00:07:15 -  1.3
  @@ -120,21 +120,27 @@
   org.apache.struts.taglib.bean.DefineTei
   JSP
   
  -Retrieve the value of a specified bean property, and define it
  -as an attribute (in the scope specified by the toScope
  -property) accessible to the remainder of the current
  -page.  No type conversion is performed on the returned property value,
  -unless it is a Java primitive type, in which case it is wrapped in the
  -appropriate wrapper class (i.e. int is wrapped by java.lang.Integer).
  -
  -If you specify a "value" attribute, the exposed bean will be of type
  -java.lang.String and initialized to the specified value.
  -
  -If you specify a body, the exposed bean will be of type
  -java.lang.String and initialized to the body content.
  -
  -You can not specify a "value" attribute and body simultaneously - 
  -JspException will be thrown.
  +Create a new attribute (in the scope specified by the
  +toScope property, if any), and a corresponding scripting
  +variable, both of which are named by the value of the id
  +attribute.  The corresponding value to which this new attribute (and
  +scripting variable) is set are specified via use of exactly one of the
  +following approaches (trying to use more than one will result in a
  +JspException being thrown):
  +
  +Specify a name attribute (plus optional
  +property and scope attributes) -
  +The created attribute and scripting variable will be of the type of the
  +retrieved JavaBean property, unless it is a Java primitive type,
  +in which case it will be wrapped in the appropriate wrapper class
  +(i.e. int is wrapped by java.lang.Integer).
  +Specify a value attribute - The created attribute and
  +scripting variable will be of type java.lang.String,
  +set to the value of this attribute.
  +Specify nested body content - The created attribute and scripting
  +variable will be of type java.lang.String, set to
  +the value of the nested body content.
  +
   
   If a problem occurs while retrieving the specified bean property, a
   request time exception will be thrown.
  @@ -188,7 +194,7 @@
 specified) or the attribute name of the bean that is duplicated with
 the new reference created by this tag (if property is not
 also specified).  This attribute is required unless you specify
  -  a value attribute.
  +  a value attribute or nested body content.
 
   
   
  @@ -246,7 +252,7 @@
 
 The java.lang.String value to which the exposed bean
 should be set.  This attribute is required unless you specify the
  -  name attribute.
  +  name attribute or nested body content.
 
   
   
  
  
  
  1.17  +59 -23
jakarta-struts/src/share/org/apache/struts/taglib/bean/DefineTag.java
  
  Index: DefineTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/DefineTag.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- DefineTag.java16 Mar 2002 05:04:33 -  1.16
  +++ DefineTag.java23 Jun 2002 00:07:16 -  1.17
  @@ -91,6 +91,13 @@
   MessageResources.getMessageResources
   ("org.apache.struts.taglib.bean.LocalStrings");
   
  +
  +/**
  + * The body content of this tag (if any).
  + */
  +protected String body = null;
  +
  +
   // - Properties
   
   
  @@ -195,20 +202,38 @@
   
   // - Public Methods
   
  +
   /**
  -*
  -* Check if we need to evaluate the body of the tag
  -*
  -* @exception JspException if a JSP exception has occurred
  -*/
  + * Check if we need to evaluate the body of the tag
  + *
  + * @exception JspException if a JSP exc

DO NOT REPLY [Bug 8484] - bean:define throws if both value AND content are set, but not if none are set

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8484

bean:define throws if both value AND content are set, but not if none are set

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 00:07 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 8460] - using null="false" in message-resources adds alt & title element to generated html

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null="false" in message-resources adds alt & title element to generated html

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 00:27 ---
I am unable to reproduce this problem, which I tested by adding the following to
the index.jsp page of struts-example:

  

and then trying the app with and without the null="false" setting.  A couple of
other notes:

* Your two example pages both have the wierd title= and alt= values,
  and appear to be identical.
* I don't see how the "original jsp file" that you included in your
  third attachment could have possibly created either of the two
  generated pages -- the only way to get Struts to create the title=
  and alt= attributes on the generated  element itself would be to
  use these attributes on the  tag.  The nested
   tag cannot cause this.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 8369] - enhancement request : specifying abstract or interface FormBeans

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8369

enhancement request : specifying abstract or interface FormBeans

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 00:33 ---
The RequestUtils.createActionForm() method was recently enhanced to recognize
the use of subclasses of the the class name that is declared in
struts-config.xml.  Please try one of the recent nightly builds.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9756] - Bug in example build.xml file

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9756

Bug in example build.xml file





--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 00:34 ---
Haven't heard anything from Steve.  I put in comments last week that would have 
been mailed to him and there's been no response.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: DO NOT REPLY [Bug 9756] - Bug in example build.xml file

2002-06-22 Thread James Holmes

Craig:

Do you know anything about this?  He says you posted
some build file and it doesn't work.  I'm thinking
this bug should probably be closed since build.xml in
CVS works fine.

BTW, got access from Brian B. this afternoon.

-james


--- [EMAIL PROTECTED] wrote:
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> 
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE
> AT
>
.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED
> AND 
> INSERTED IN THE BUG DATABASE.
> 
>
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9756
> 
> Bug in example build.xml file
> 
> 
> 
> 
> 
> --- Additional Comments From
> [EMAIL PROTECTED]  2002-06-23 00:34 ---
> Haven't heard anything from Steve.  I put in
> comments last week that would have 
> been mailed to him and there's been no response.
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/doc/userGuide building_controller.xml

2002-06-22 Thread craigmcc

craigmcc2002/06/22 17:41:34

  Modified:doc/userGuide building_controller.xml
  Log:
  Add warnings that using multiple servlet mappings for the controller servlet
  will not work, and path mapping doesn't work for subapps in 1.1.
  
  Revision  ChangesPath
  1.14  +10 -0 jakarta-struts/doc/userGuide/building_controller.xml
  
  Index: building_controller.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- building_controller.xml   15 Jun 2002 15:23:38 -  1.13
  +++ building_controller.xml   23 Jun 2002 00:41:34 -  1.14
  @@ -559,6 +559,16 @@
   
   http://www.mycompany.com/myapplication/logon.do
   
  +
  +WARNING - Struts will not
  +operate correctly if you define more than one
  + element for the controller
  +servlet.
  +
  +WARNING - If you are using
  +the new multi-application support in Struts 1.1, you should be aware
  +that only extension mapping is supported.
  +
 
 
 
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 8271] - multiple servlet-mappings to action servlet don't work as expected

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8271

multiple servlet-mappings to action servlet don't work as expected

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 00:41 ---
I've added appropriate warnings to the User's Guide.  Fixed in nightly build
20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/actions DispatchAction.java ForwardAction.java IncludeAction.java LookupDispatchAction.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 17:52:50

  Modified:src/share/org/apache/struts/actions DispatchAction.java
ForwardAction.java IncludeAction.java
LookupDispatchAction.java
  Log:
  Upgrade the standard Action implementation classes to use Action.execute()
  instead of Action.perform(), which is deprecated in 1.1.
  
  PR: Bugzilla #8022
  Submitted by: Chuck Cavaness 
  
  Revision  ChangesPath
  1.6   +17 -20
jakarta-struts/src/share/org/apache/struts/actions/DispatchAction.java
  
  Index: DispatchAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/actions/DispatchAction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DispatchAction.java   9 Mar 2002 22:26:35 -   1.5
  +++ DispatchAction.java   23 Jun 2002 00:52:50 -  1.6
  @@ -63,12 +63,10 @@
   package org.apache.struts.actions;
   
   
  -import java.io.IOException;
   import java.io.PrintWriter;
   import java.lang.reflect.InvocationTargetException;
   import java.lang.reflect.Method;
   import java.util.HashMap;
  -import javax.servlet.ServletException;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
   import javax.servlet.http.HttpSession;
  @@ -109,13 +107,13 @@
* 
* public ActionForward delete(ActionMapping mapping, ActionForm form,
* HttpServletRequest request, HttpServletResponse response)
  - * throws IOException, ServletException
  + * throws Exception
* public ActionForward insert(ActionMapping mapping, ActionForm form,
* HttpServletRequest request, HttpServletResponse response)
  - * throws IOException, ServletException
  + * throws Exception
* public ActionForward update(ActionMapping mapping, ActionForm form,
* HttpServletRequest request, HttpServletResponse response)
  - * throws IOException, ServletException
  + * throws Exception
* 
* and call one of the methods with a URL like this:
* 
  @@ -184,10 +182,10 @@
* @since 1.1
*/
protected ActionForward dispatchMethod(ActionMapping mapping,
  - ActionForm form,
  - HttpServletRequest request,
  - HttpServletResponse response,
  - String name) throws IOException {
  +ActionForm form,
  +HttpServletRequest request,
  +HttpServletResponse response,
  +String name) throws Exception {
   
   // Identify the method object to be dispatched to
   Method method = null;
  @@ -253,14 +251,13 @@
* @param request The HTTP request we are processing
* @param response The HTTP response we are creating
*
  - * @exception IOException if an input/output error occurs
  - * @exception ServletException if a servlet exception occurs
  + * @exception Exception if an exception occurs
*/
  -public ActionForward perform(ActionMapping mapping,
  - ActionForm form,
  - HttpServletRequest request,
  - HttpServletResponse response)
  -throws IOException, ServletException {
  +public ActionForward execute(ActionMapping mapping,
  + ActionForm form,
  + HttpServletRequest request,
  + HttpServletResponse response)
  +throws Exception {
   
   // Identify the request parameter containing the method name
   String parameter = mapping.getParameter();
  
  
  
  1.2   +7 -10 
jakarta-struts/src/share/org/apache/struts/actions/ForwardAction.java
  
  Index: ForwardAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/actions/ForwardAction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ForwardAction.java10 May 2001 03:13:32 -  1.1
  +++ ForwardAction.java23 Jun 2002 00:52:50 -  1.2
  @@ -63,9 +63,7 @@
   package org.apache.struts.actions;
   
   
  -import java.io.IOException;
   import javax.servlet.RequestDispatcher;
  -import javax.servlet.ServletException;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
   import org.apache.struts.action.Action;
  @@ -131,14 +129,13 @@
* @param request The HTTP request we are processing
* @param response The HTTP response we are creating
*
  - * @exception IOException if an input/output error occurs
  - * @exception ServletException if a servlet exception occurs
  + * @exception Exception if an error oc

DO NOT REPLY [Bug 8022] - Need to update the Actions in the actions package for 1.1

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8022

Need to update the Actions in the actions package for 1.1

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 00:53 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionServlet.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 18:04:18

  Modified:doc/userGuide building_controller.xml
   src/share/org/apache/struts/action ActionServlet.java
  Log:
  Desupport the "validating" init parameter for the controller servlet.  We
  now rely on default values for some attributes defined in the DTD, but these
  are ony processed when you do a validating parse (which is now done
  unconditionally).
  
  PR: Bugzilla #7807
  Submitted by: David M. Karr 
  
  Revision  ChangesPath
  1.15  +0 -2  jakarta-struts/doc/userGuide/building_controller.xml
  
  Index: building_controller.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_controller.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- building_controller.xml   23 Jun 2002 00:41:34 -  1.14
  +++ building_controller.xml   23 Jun 2002 01:04:18 -  1.15
  @@ -489,8 +489,6 @@
 application as a servlet context attribute]
 validate - Are we using the new configuration file
 format?  [true]  
  -  validating - Should we use a validating XML parse to
  -  process the configuration file (strongly recommended)? [true]  
   
 
 
  
  
  
  1.104 +5 -22 
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
  
  Index: ActionServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- ActionServlet.java15 Jun 2002 23:23:00 -  1.103
  +++ ActionServlet.java23 Jun 2002 01:04:18 -  1.104
  @@ -265,8 +265,6 @@
* application as a servlet context attribute]
* DEPRECATED - Configure this using the "tempDir" attribute of
* the  element.
  - * validating - Should we use a validating XML parse to
  - * process the configuration file (strongly recommended)? [true]
* 
*
* @author Craig R. McClanahan
  @@ -371,13 +369,6 @@
   protected String servletName = null;
   
   
  -/**
  - * Should we use a validating XML parser to read the configuration file?
  - */
  -protected boolean validating = true;
  -
  -
  -
   //  HttpServlet Methods
   
   
  @@ -1004,7 +995,7 @@
   configDigester = new Digester();
   configDigester.setDebug(detail);
   configDigester.setNamespaceAware(true);
  -configDigester.setValidating(validating);
  +configDigester.setValidating(true);
   configDigester.setUseContextClassLoader(true);
   configDigester.addRuleSet(new ConfigRuleSet());
   for (int i = 0; i < registrations.length; i += 2) {
  @@ -1073,14 +1064,6 @@
   detail = Integer.parseInt(value);
   } catch (Throwable t) {
   detail = 0;
  -}
  -value = getServletConfig().getInitParameter("validating");
  -if (value != null) {
  -if (value.equalsIgnoreCase("true") ||
  -value.equalsIgnoreCase("yes"))
  -validating = true;
  -else
  -validating = false;
   }
   
   }
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7807] - Without "key" attribute, "message-resources" element doesn't work

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7807

Without "key" attribute, "message-resources" element doesn't work

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 01:04 ---
Which app server are you running?  Or, more importantly, which XML parser is
being used?

At the same time as the change to MessageResourcesConfig was made, I also
modified the DTD file (struts-config_1_1.dtd) to include a default "key"
attribute value of "org.apache.struts.action.MESSAGE".  As long as you do a
validating parse of the struts-config.xml file (which Struts does unless you
turn it off), the key property should be getting set correctly.

However, this dependence on validation means that it is no longer reasonable to
parse without it -- so I'm going to remove the "validating" init parameter on
ActionServlet in nightly build 20020623 to avoid allowing users to cause this
problem themselves.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: DO NOT REPLY [Bug 9756] - Bug in example build.xml file

2002-06-22 Thread Craig R. McClanahan



On Sat, 22 Jun 2002, James Holmes wrote:

> Date: Sat, 22 Jun 2002 17:38:37 -0700 (PDT)
> From: James Holmes <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: Struts Developers List <[EMAIL PROTECTED]>
> Subject: Re: DO NOT REPLY [Bug 9756]  - Bug in example build.xml file
>
> Craig:
>
> Do you know anything about this?  He says you posted
> some build file and it doesn't work.  I'm thinking
> this bug should probably be closed since build.xml in
> CVS works fine.

I agree ... I've never seen a bug report filed against a mail message
before :-).

>
> BTW, got access from Brian B. this afternoon.
>

Cool.  I've been leaving the bug reports that you've submitted patches for
so that you can test it out.

> -james
>

Craig


>
> --- [EMAIL PROTECTED] wrote:
> > DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> >
> > RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE
> > AT
> >
> .
> > ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED
> > AND
> > INSERTED IN THE BUG DATABASE.
> >
> >
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9756
> >
> > Bug in example build.xml file
> >
> >
> >
> >
> >
> > --- Additional Comments From
> > [EMAIL PROTECTED]  2002-06-23 00:34 ---
> > Haven't heard anything from Steve.  I put in
> > comments last week that would have
> > been mailed to him and there's been no response.
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
>
>
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/action ExceptionHandler.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 18:17:04

  Modified:src/share/org/apache/struts/action ExceptionHandler.java
  Log:
  Make ExceptionHandler.execute() public instead of protected, analogous
  to Action.execute(), so overridden RequestHandler.processException() methods
  can still call it.
  
  PR: Bugzilla #7805
  Submitted by: Chuck Cavaness 
  
  Revision  ChangesPath
  1.4   +6 -6  
jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java
  
  Index: ExceptionHandler.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ExceptionHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ExceptionHandler.java 16 Jun 2002 04:50:01 -  1.3
  +++ ExceptionHandler.java 23 Jun 2002 01:17:04 -  1.4
  @@ -85,12 +85,12 @@
*
* @exception ServletException if a servlet exception occurs
*/
  -protected ActionForward execute(Exception ex,
  -ExceptionConfig ae,
  -ActionMapping mapping,
  -ActionForm formInstance,
  -HttpServletRequest request,
  -HttpServletResponse response)
  +public ActionForward execute(Exception ex,
  + ExceptionConfig ae,
  + ActionMapping mapping,
  + ActionForm formInstance,
  + HttpServletRequest request,
  + HttpServletResponse response)
   throws ServletException {
   
ActionForward forward = null;
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7805] - Methods with Protected instead of Public scope

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7805

Methods with Protected instead of Public scope

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 01:17 ---
Made ExceptionHandler.execute() public in nightly build 20020623.  Thanks!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/conf/test log_server.properties

2002-06-22 Thread craigmcc

craigmcc2002/06/22 18:18:05

  Added:   conf/test log_server.properties
  Log:
  Add forgotten config file for Cactus tests.
  
  Revision  ChangesPath
  1.1  jakarta-struts/conf/test/log_server.properties
  
  Index: log_server.properties
  ===
  # Configuration file for Cactus Logging for Struts 1.1 (Server Side)
  
  log4j.appender.cactus = org.apache.log4j.FileAppender
  log4j.appender.cactus.File = cactus_server.log
  log4j.appender.cactus.Append = false
  log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
  log4j.appender.cactus.layout.ConversionPattern = %d(ABSOLUTE) [%t] %-5p %-30.30c(2) 
%x - %m %n
  log4j.rootCategory=DEBUG, cactus
  log4j.category.org.apache.cactus = WARN, cactus
  log4j.additivity.org.apache.cactus=false
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts .cvsignore

2002-06-22 Thread craigmcc

craigmcc2002/06/22 18:19:15

  Modified:..cvsignore
  Log:
  Ignore log files from running Cactus tests.
  
  Revision  ChangesPath
  1.6   +2 -0  jakarta-struts/.cvsignore
  
  Index: .cvsignore
  ===
  RCS file: /home/cvs/jakarta-struts/.cvsignore,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- .cvsignore28 Jan 2002 05:57:59 -  1.5
  +++ .cvsignore23 Jun 2002 01:19:15 -  1.6
  @@ -2,3 +2,5 @@
   dist
   target
   release
  +cactus_client.log
  +cactus_server.log
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9756] - Bug in example build.xml file

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9756

Bug in example build.xml file

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 01:22 ---
This appears to be a bug against an email message on one of the mailing lists.  
Talked to Craig and agrees to close this bug.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




bug 4776 - what should be done?

2002-06-22 Thread James Holmes

I think this bug can be closed as "WONTFIX", but would
like the opinion of others.  I submitted my commments
in Bugzilla.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4776

-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7756] - The reset() method seems to be called twice

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7756

The reset() method seems to be called twice

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 01:38 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 18:38:32

  Modified:src/share/org/apache/struts/taglib/html FormTag.java
   src/share/org/apache/struts/util RequestUtils.java
  Log:
  Eliminate double call to ActionForm.reset() when a form bean is created
  by RequestUtils.createActionForm().
  
  PR: Bugzilla #7756
  Submitted by: Chuck Cavaness 
  
  Revision  ChangesPath
  1.21  +8 -4  
jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
  
  Index: FormTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- FormTag.java  22 Jun 2002 22:06:33 -  1.20
  +++ FormTag.java  23 Jun 2002 01:38:31 -  1.21
  @@ -606,6 +606,10 @@
   bean = RequestUtils.createActionForm
   ((HttpServletRequest) pageContext.getRequest(),
mapping, appConfig, servlet);
  +if (bean instanceof ActionForm) {
  +((ActionForm) bean).reset
  +(mapping, (HttpServletRequest) pageContext.getRequest());
  +}
   if (bean == null) {
   throw new JspException
   (messages.getMessage("formTag.create", type));
  
  
  
  1.40  +4 -5  
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.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- RequestUtils.java 22 Jun 2002 22:19:13 -  1.39
  +++ RequestUtils.java 23 Jun 2002 01:38:31 -  1.40
  @@ -637,7 +637,6 @@
   }
   }
   instance.setServlet(servlet);
  -instance.reset(mapping, request);
   return (instance);
   
   }
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java

2002-06-22 Thread James Mitchell

Thanks Craig,  I've been meaning to get back to that.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 22, 2002 6:07 PM
> To: [EMAIL PROTECTED]
> Subject: cvs commit:
> jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java
>
>
> craigmcc2002/06/22 15:06:33
>
>   Modified:src/share/org/apache/struts/taglib/html FormTag.java
>   Log:
>   Do not try to set focus on a hidden field.
>
>   PR: Bugzilla #10005
>   Submitted by: James Mitchell 
>
>   Revision  ChangesPath
>   1.20  +13 -4
> jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
>
>   Index: FormTag.java
>   ===
>   RCS file:
> /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/F
> ormTag.java,v
>   retrieving revision 1.19
>   retrieving revision 1.20
>   diff -u -r1.19 -r1.20
>   --- FormTag.java22 Mar 2002 23:47:18 -  1.19
>   +++ FormTag.java22 Jun 2002 22:06:33 -  1.20
>   @@ -652,6 +652,15 @@
>   results.append("

DO NOT REPLY [Bug 7705] - Unnecessary statement in the initServlet method?

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7705

Unnecessary statement in the initServlet method?

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 01:48 ---
There are actually two different keys:

Action.ACTION_SERVLET_KEY stores the ActionServlet instance itself

Action.SERVLET_KEY (which really should have been called SERVLET_MAPPING_KEY)
stores the URL pattern from the  for the controller servlet.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7606] - Oracle JDeveloper RC2 problems with Beta1

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7606

Oracle JDeveloper RC2 problems with Beta1

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 01:52 ---
Without complete stack traces it is impossible to guess what might be going on
here, but NoClassDefFoundError usually indicates something wrong with the
classpath being used to locate classes normally found in struts.jar, or perhaps
you are missing servlet.jar (or the Oracle JDeveloper equivalent of it.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7579] - Tomcat 4.0.3 + struts fails with -security

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7579

Tomcat 4.0.3 + struts fails with -security

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary| Tomcat 4.0.3 + struts fails|Tomcat 4.0.3 + struts fails
   |with -security  |with -security



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 01:55 ---
I've never personally done an audit to see what permissions Struts might need
when run in a security manager.  Has anyone else succeeded at making this work,
or identified the permissions they needed to add?

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7501] - ActionForm.reset() called twice.

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7501

ActionForm.reset() called twice.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 02:50 ---
Duplicate of 7756.  Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7491] - MessageResources key attribute defaults to null

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7491

MessageResources key attribute defaults to null

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 02:54 ---
The "key" attribute used to be initialized as you suggested, but this causes the
ApplicationConfig hierarchy of objects to become non-Serializable.  Instead,
Struts now relies on the fact that the DTD for validatings struts-config.xml
files includes a default String value for this property, so if you do a
validating parse then the value gets initialized correctly.

Previously, Struts let you turn validation off via the "validating" init
parameter to the controller servlet.  This has been removed, because using
validation is now a requirement.  This change is in the 20020623 nightly build.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/example/org/apache/struts/webapp/example LogonAction.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 20:00:58

  Modified:src/example/org/apache/struts/webapp/example
LogonAction.java
  Log:
  Avoid a compile-time error found by Jikes, by throwing a real exception
  instead.
  
  PR: Bugzilla #7489
  Submitted by: Marcelo Vanzin 
  
  Revision  ChangesPath
  1.8   +5 -5  
jakarta-struts/src/example/org/apache/struts/webapp/example/LogonAction.java
  
  Index: LogonAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/LogonAction.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- LogonAction.java  11 Mar 2002 06:13:13 -  1.7
  +++ LogonAction.java  23 Jun 2002 03:00:58 -  1.8
  @@ -197,7 +197,7 @@
   
   // Force an ArithmeticException which can be handled explicitly
   if ("arithmetic".equals(username)) {
  -int a = 10 / 0;
  +throw new ArithmeticException();
   }
   
   // Force an application-specific exception which can be handled
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7489] - Compile problem with jikes and example app

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7489

Compile problem with jikes and example app

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 03:01 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7455] - May not be protected: ActionServlet.getApplicationConfig(HttpRequest)

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7455

May not be protected: ActionServlet.getApplicationConfig(HttpRequest)

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 03:03 ---
The ApplicationConfig object for the sub-application you are currently running
is available as a request parameter:

  ApplicationConfig config = (ApplicationConfig)
request.getAttribute(Action.APPLICATION_KEY);

so you do not need to access the controller servlet for this.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 20:37:20

  Modified:src/share/org/apache/struts/taglib/html Tag:
STRUTS_1_0_BRANCH FormTag.java
  Log:
  FormTag should respect any "attribute" property on the ActionMapping
  used for this request.
  
  PR: Bugzilla #7377
  Submitted by: Ivan Follender 
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.13.2.2  +5 -5  
jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
  
  Index: FormTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java,v
  retrieving revision 1.13.2.1
  retrieving revision 1.13.2.2
  diff -u -r1.13.2.1 -r1.13.2.2
  --- FormTag.java  5 Nov 2001 04:53:24 -   1.13.2.1
  +++ FormTag.java  23 Jun 2002 03:37:19 -  1.13.2.2
  @@ -800,7 +800,7 @@
   }
   
   // Calculate the required values
  -name = mapping.getName();
  +name = mapping.getAttribute();
   scope = mapping.getScope();
   servlet = mappings.getServlet();
   type = formBean.getType();
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 20:38:12

  Modified:src/share/org/apache/struts/taglib/html FormTag.java
  Log:
  FormTag should respect any "attribute" property on the ActionMapping for the
  current request.
  
  PR: Bugzilla #7377
  Submitted by: Ivan Follender 
  
  Revision  ChangesPath
  1.22  +5 -5  
jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
  
  Index: FormTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- FormTag.java  23 Jun 2002 01:38:31 -  1.21
  +++ FormTag.java  23 Jun 2002 03:38:12 -  1.22
  @@ -872,7 +872,7 @@
   }
   
   // Calculate the required values
  -name = mapping.getName();
  +name = mapping.getAttribute();
   scope = mapping.getScope();
   type = formBeanConfig.getType();
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7377] - custom tag does not take advantage of the ActionMapping property called

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7377

custom  tag does not take advantage of the ActionMapping property called 


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 03:38 ---
Fixed in nightly build 20020623 for Struts 1.1.  Also fixed in 1.0 branch, so it
will be picked up if there is another 1.0.x release.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/example/org/apache/struts/webapp/example SaveRegistrationAction.java

2002-06-22 Thread jholmes

jholmes 2002/06/22 20:45:07

  Modified:src/example/org/apache/struts/webapp/example
SaveRegistrationAction.java
  Log:
  Remove unused import.
  
  PR: Bugzilla #9893
  
  Revision  ChangesPath
  1.9   +4 -5  
jakarta-struts/src/example/org/apache/struts/webapp/example/SaveRegistrationAction.java
  
  Index: SaveRegistrationAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/SaveRegistrationAction.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SaveRegistrationAction.java   16 Jun 2002 05:32:50 -  1.8
  +++ SaveRegistrationAction.java   23 Jun 2002 03:45:07 -  1.9
  @@ -80,7 +80,6 @@
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionForward;
   import org.apache.struts.action.ActionMapping;
  -import org.apache.struts.action.ActionServlet;
   import org.apache.struts.util.MessageResources;
   
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9893] - [PATCH] remove unused import in example application

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9893

[PATCH] remove unused import in example application

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 03:48 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionServlet.java

2002-06-22 Thread jholmes

jholmes 2002/06/22 20:59:34

  Modified:src/share/org/apache/struts/action ActionServlet.java
  Log:
  update JavaDocs for struts-config.xml parameters
  
  PR: Bugzilla #9904
  
  Revision  ChangesPath
  1.105 +8 -6  
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
  
  Index: ActionServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- ActionServlet.java23 Jun 2002 01:04:18 -  1.104
  +++ ActionServlet.java23 Jun 2002 03:59:34 -  1.105
  @@ -188,9 +188,11 @@
* DEPRECATED - Configure this using the "contentType" attribute
* of the  element.
* debug - The debugging detail level for this
  - * servlet, which controls how much information is logged.  [0]
  + * servlet, which controls how much information is logged. Accepts
  + * values 0 (off) and 1 (least serious) through 6 (most serious). [0]
* detail - The debugging detail level for the Digester
  - * we utilize to process the application configuration files.
  + * we utilize to process the application configuration files. Accepts
  + * values 0 (off) and 1 (least serious) through 6 (most serious). [0]
* factory - The Java class name of the
* MessageResourcesFactory used to create the application
* MessageResources object.
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9904] - [PATCH] update ActionServlet's JavaDocs for struts-config.xml parameters

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9904

[PATCH] update ActionServlet's JavaDocs for struts-config.xml parameters

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 04:00 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionServlet.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 21:05:21

  Modified:src/share/org/apache/struts/action ActionServlet.java
  Log:
  Define a new "convertHack" boolean init parameter for ActionServlet that
  restores strict Struts 1.0 compatibility if set to true for form bean
  properties of Java wrapper class types (like java.util.Integer).
  
  Current default behavior for invalid conversions is to return the configured
  default value (usually zero).  Struts 1.0 returned null in these cases.  Set
  the "convertHack" parameter to "true" if your application depends on this.
  
  PR:  Bugzilla #7317
  Submitted by: Artur Filipiak 
  
  Revision  ChangesPath
  1.106 +52 -4 
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
  
  Index: ActionServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
  retrieving revision 1.105
  retrieving revision 1.106
  diff -u -r1.105 -r1.106
  --- ActionServlet.java23 Jun 2002 03:59:34 -  1.105
  +++ ActionServlet.java23 Jun 2002 04:05:21 -  1.106
  @@ -82,7 +82,16 @@
   import javax.servlet.http.HttpSession;
   import javax.sql.DataSource;
   import org.apache.commons.beanutils.BeanUtils;
  +import org.apache.commons.beanutils.ConvertUtils;
   import org.apache.commons.beanutils.PropertyUtils;
  +import org.apache.commons.beanutils.converters.BooleanConverter;
  +import org.apache.commons.beanutils.converters.ByteConverter;
  +import org.apache.commons.beanutils.converters.CharacterConverter;
  +import org.apache.commons.beanutils.converters.DoubleConverter;
  +import org.apache.commons.beanutils.converters.FloatConverter;
  +import org.apache.commons.beanutils.converters.IntegerConverter;
  +import org.apache.commons.beanutils.converters.LongConverter;
  +import org.apache.commons.beanutils.converters.ShortConverter;
   import org.apache.commons.collections.FastHashMap;
   import org.apache.commons.digester.Digester;
   import org.apache.commons.digester.Rule;
  @@ -187,6 +196,11 @@
* servlet or JSP page.  [text/html]
* DEPRECATED - Configure this using the "contentType" attribute
* of the  element.
  + * convertHack - Set to true to force form
  + * bean population of bean properties that are of Java wrapper class types
  + * (such as java.lang.Integer) to set the property to null,
  + * instead of zero, in a manner equivalent to the behavior of Struts 1.0.
  + * [false]
* debug - The debugging detail level for this
* servlet, which controls how much information is logged. Accepts
* values 0 (off) and 1 (least serious) through 6 (most serious). [0]
  @@ -296,6 +310,13 @@
   
   
   /**
  + * The flag to request backwards-compatible conversions for form bean
  + * properties of the Java wrapper class types.
  + */
  +protected boolean convertHack = false;
  +
  +
  +/**
* The JDBC data sources that has been configured for this application,
* if any, keyed by the servlet context attribute under which they are
* stored.
  @@ -1066,6 +1087,33 @@
   detail = Integer.parseInt(value);
   } catch (Throwable t) {
   detail = 0;
  +}
  +
  +// Backwards compatibility hack for form beans of Java wrapper classes
  +// Set to true for strict Struts 1.0 compatibility
  +value = getServletConfig().getInitParameter("convertHack");
  +if (value != null) {
  +if ("true".equalsIgnoreCase(value) ||
  +"yes".equalsIgnoreCase(value) ||
  +"on".equalsIgnoreCase(value) ||
  +"y".equalsIgnoreCase(value) ||
  +"1".equalsIgnoreCase(value)) {
  +convertHack = true;
  +} else {
  +convertHack = false;
  +}
  +}
  +if (convertHack) {
  +ConvertUtils.deregister();
  +ConvertUtils.register(new BooleanConverter(null), Boolean.class);
  +ConvertUtils.register(new ByteConverter(null), Byte.class);
  +ConvertUtils.register(new CharacterConverter(null),
  +  Character.class);
  +ConvertUtils.register(new DoubleConverter(null), Double.class);
  +ConvertUtils.register(new FloatConverter(null), Float.class);
  +ConvertUtils.register(new IntegerConverter(null), Integer.class);
  +ConvertUtils.register(new LongConverter(null), Long.class);
  +ConvertUtils.register(new ShortConverter(null), Short.class);
   }
   
   }
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7317] - RequestUtils.populate() convert null or empty parameter to 0 integer

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7317

RequestUtils.populate() convert null or empty parameter to 0 integer

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 04:05 ---
Fixed in nightly build 20020623.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 7232] - Unable to get message resources from ActionForm.validate due to deprecation

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7232

Unable to get message resources from ActionForm.validate due to deprecation

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 04:11 ---
The message resources for the current sub-application is now available as a
request attribute under key Action.MESSAGES_KEY
("org.apache.struts.action.MESSAGE").  Among other things, that means that your
validate() method can get to them easily.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/upload DiskMultipartRequestHandler.java

2002-06-22 Thread jholmes

jholmes 2002/06/22 21:15:21

  Modified:src/share/org/apache/struts/upload
DiskMultipartRequestHandler.java
  Log:
  update the retrieveTempDir() method to insure that
  NullPointerExceptions won't be thrown if the call to
  getServlet() returns null
  
  PR: Bugzilla #9117
  
  Revision  ChangesPath
  1.16  +13 -9 
jakarta-struts/src/share/org/apache/struts/upload/DiskMultipartRequestHandler.java
  
  Index: DiskMultipartRequestHandler.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/upload/DiskMultipartRequestHandler.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- DiskMultipartRequestHandler.java  22 Mar 2002 23:47:18 -  1.15
  +++ DiskMultipartRequestHandler.java  23 Jun 2002 04:15:21 -  1.16
  @@ -229,16 +229,20 @@
   protected void retrieveTempDir(ApplicationConfig appConfig) { 
   
   //attempt to retrieve the servlet container's temporary directory
  -ServletContext context = getServlet().getServletContext();
  -   
  -try {
  -tempDir =
  -(String) context.getAttribute("javax.servlet.context.tempdir");
  -}
  -catch (ClassCastException cce) {
  -tempDir = ((File) 
context.getAttribute("javax.servlet.context.tempdir")).getAbsolutePath();
  +ActionServlet servlet = getServlet();
  +if (servlet != null) {
  +//attempt to retrieve the servlet container's temporary directory
  +ServletContext context = servlet.getServletContext();
  +
  +try {
  +tempDir =
  +(String) context.getAttribute("javax.servlet.context.tempdir");
  +}
  +catch (ClassCastException cce) {
  +tempDir = ((File) 
context.getAttribute("javax.servlet.context.tempdir")).getAbsolutePath();
  +}
   }   
  -
  +
   if (tempDir == null) {
   //attempt to retrieve the temporary directory from the controller
   tempDir = appConfig.getControllerConfig().getTempDir();
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9117] - DiskMultipartRequestHandler Bug

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9117

DiskMultipartRequestHandler Bug

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 04:19 ---
Fixed in nightly build 20020624.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/doc/resources - New directory

2002-06-22 Thread jholmes

jholmes 2002/06/22 21:26:19

  jakarta-struts/doc/resources - New directory

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html ErrorsTag.java

2002-06-22 Thread craigmcc

craigmcc2002/06/22 21:38:44

  Modified:doc/userGuide struts-html.xml
   src/share/org/apache/struts/taglib/html ErrorsTag.java
  Log:
  Implement a small enhancement to the HTML rendered by ErrorsTag -- if the
  "errors.prefix" and "errors.suffix" keys are defined in the application
  resources, the corresponding strings will be put before and after each
  individual message.  This is a good place for  and  tags, for
  example.
  
  PR: Bugzilla #2164
  Submitted by: Keith Egler 
  
  Revision  ChangesPath
  1.11  +6 -2  jakarta-struts/doc/userGuide/struts-html.xml
  
  Index: struts-html.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-html.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- struts-html.xml   22 Jun 2002 21:54:56 -  1.10
  +++ struts-html.xml   23 Jun 2002 04:38:44 -  1.11
  @@ -923,8 +923,8 @@
   
   In order to use this tag successfully, you must have
   defined an application scope MessageResources
  -bean under the default attribute name, with at least the
  -following message keys:
  +bean under the default attribute name, with optional
  +definitions of the following message keys:
   
   errors.header - Text that will be rendered
   before the error messages list.  Typically, this message text
  @@ -934,6 +934,10 @@
   after the error messages list.  Typically, this message text
   will begin with  to end the error
   messages list.
  +errors.prefix - Text that will be rendered
  +before each individual error in the list.
  +errors.suffix - Text that will be rendered
  +after each individual error in the list.
   
   
   
  
  
  
  1.15  +24 -7 
jakarta-struts/src/share/org/apache/struts/taglib/html/ErrorsTag.java
  
  Index: ErrorsTag.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/ErrorsTag.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ErrorsTag.java17 Mar 2002 05:07:35 -  1.14
  +++ ErrorsTag.java23 Jun 2002 04:38:44 -  1.15
  @@ -92,10 +92,13 @@
* messages exist for them in the application resources:
* 
* errors.header - If present, the corresponding message will be
  - * rendered prior to the individual list of error messages.
  + * rendered prior to the individual list of error messages.
* errors.footer - If present, the corresponding message will be
  - * rendered following the individual list of error messages.
  - * 
  + * rendered following the individual list of error messages.
  + * errors.prefix - If present, the corresponding message will be
  + * rendered before each individual error message.
  + * errors.suffix - If present, the corresponding message will be
  + * rendered after each individual error message.
* 
*
* @author Craig R. McClanahan
  @@ -206,6 +209,10 @@
   RequestUtils.present(pageContext, bundle, locale, "errors.header");
   boolean footerPresent =
   RequestUtils.present(pageContext, bundle, locale, "errors.footer");
  +boolean prefixPresent =
  +RequestUtils.present(pageContext, bundle, locale, "errors.prefix");
  +boolean suffixPresent =
  +RequestUtils.present(pageContext, bundle, locale, "errors.suffix");
   
   // Render the error messages appropriately
StringBuffer results = new StringBuffer();
  @@ -228,12 +235,22 @@
   }
   headerDone = true;
   }
  +if (prefixPresent) {
  +message = RequestUtils.message(pageContext, bundle,
  +   locale, "errors.prefix");
  +results.append(message);
  +}
   message = RequestUtils.message(pageContext, bundle,
  locale, report.getKey(),
  report.getValues());
   if (message != null) {
   results.append(message);
   results.append("\r\n");
  +}
  +if (suffixPresent) {
  +message = RequestUtils.message(pageContext, bundle,
  +   locale, "errors.suffix");
  +results.append(message);
   }
   }
   if (headerDone && footerPresent) {
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 

DO NOT REPLY [Bug 7703] - [PATCH] Example cleanup

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7703

[PATCH] Example cleanup

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 04:55 ---
Fixed in nightly build 20020624.  Thanks for the patch!

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 3190] - FORM tag doesn't handle all cases of servlet mappings

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3190

FORM tag doesn't handle all cases of servlet mappings

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 04:59 ---
Struts 1.1 will only support using a *single* mapping -- either path style
(/foo/*) or extension style (*.foo).  If you are using sub-applications, only
extension mapping is supported.  We can revisit this issue in a subsequent release.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/src/example/org/apache/struts/webapp/example EditRegistrationAction.java EditSubscriptionAction.java LogoffAction.java LogonAction.java SaveRegistrationAction.java SaveSubscriptionAction.java

2002-06-22 Thread jholmes

jholmes 2002/06/22 21:59:33

  Modified:src/example/org/apache/struts/webapp/example
EditRegistrationAction.java
EditSubscriptionAction.java LogoffAction.java
LogonAction.java SaveRegistrationAction.java
SaveSubscriptionAction.java
  Log:
  Removed unnecessary import statements
  
  PR: Bugzilla #7703
  Submitted by: Kare Nuorteva 
  
  Revision  ChangesPath
  1.8   +4 -8  
jakarta-struts/src/example/org/apache/struts/webapp/example/EditRegistrationAction.java
  
  Index: EditRegistrationAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/EditRegistrationAction.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EditRegistrationAction.java   11 Mar 2002 06:13:13 -  1.7
  +++ EditRegistrationAction.java   23 Jun 2002 04:59:33 -  1.8
  @@ -63,11 +63,8 @@
   package org.apache.struts.webapp.example;
   
   
  -import java.io.IOException;
   import java.lang.reflect.InvocationTargetException;
   import java.util.Locale;
  -import java.util.Vector;
  -import javax.servlet.RequestDispatcher;
   import javax.servlet.ServletException;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpSession;
  @@ -79,7 +76,6 @@
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionForward;
   import org.apache.struts.action.ActionMapping;
  -import org.apache.struts.action.ActionServlet;
   import org.apache.struts.util.MessageResources;
   
   
  
  
  
  1.8   +4 -8  
jakarta-struts/src/example/org/apache/struts/webapp/example/EditSubscriptionAction.java
  
  Index: EditSubscriptionAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/EditSubscriptionAction.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EditSubscriptionAction.java   11 Mar 2002 06:13:13 -  1.7
  +++ EditSubscriptionAction.java   23 Jun 2002 04:59:33 -  1.8
  @@ -63,11 +63,8 @@
   package org.apache.struts.webapp.example;
   
   
  -import java.io.IOException;
   import java.lang.reflect.InvocationTargetException;
   import java.util.Locale;
  -import java.util.Vector;
  -import javax.servlet.RequestDispatcher;
   import javax.servlet.ServletException;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpSession;
  @@ -79,7 +76,6 @@
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionForward;
   import org.apache.struts.action.ActionMapping;
  -import org.apache.struts.action.ActionServlet;
   import org.apache.struts.util.MessageResources;
   
   
  
  
  
  1.5   +4 -8  
jakarta-struts/src/example/org/apache/struts/webapp/example/LogoffAction.java
  
  Index: LogoffAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/LogoffAction.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LogoffAction.java 11 Mar 2002 06:13:13 -  1.4
  +++ LogoffAction.java 23 Jun 2002 04:59:33 -  1.5
  @@ -63,10 +63,7 @@
   package org.apache.struts.webapp.example;
   
   
  -import java.util.Hashtable;
   import java.util.Locale;
  -import java.util.Vector;
  -import javax.servlet.RequestDispatcher;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpSession;
   import javax.servlet.http.HttpServletResponse;
  @@ -76,7 +73,6 @@
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionForward;
   import org.apache.struts.action.ActionMapping;
  -import org.apache.struts.action.ActionServlet;
   import org.apache.struts.util.MessageResources;
   
   
  
  
  
  1.9   +4 -8  
jakarta-struts/src/example/org/apache/struts/webapp/example/LogonAction.java
  
  Index: LogonAction.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/webapp/example/LogonAction.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- LogonAction.java  23 Jun 2002 03:00:58 -  1.8
  +++ LogonAction.java  23 Jun 2002 04:59:33 -  1.9
  @@ -63,10 +63,7 @@
   package org.apache.struts.webapp.example;
   
   
  -import java.io.IOException;
   import java.util.Locale;
  -import javax.servlet.RequestDispatcher;
  -import javax.servlet.ServletException;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpSession;
   import javax.servlet.http.HttpServletResponse;
  @@ -78,7 +75,6 @@
   import org.apache.struts.action.ActionForm;
  

DO NOT REPLY [Bug 7329] - [PATCH] Nested tags for logic:iterate

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7329

[PATCH] Nested tags for logic:iterate





--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:06 ---
so what's the consensus here then? can we go ahead and close this bug out?

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 3353] - Need More Flexibility Setting/Getting ActionForm Properties

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3353

Need More Flexibility Setting/Getting ActionForm Properties

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:13 ---
In Struts 1.1, the needs you have described are addressed by the new
DynaActionForm functionality (based on DynaBean APIs in commons-beanutils),
which let you declare the set of properties for your form beans in
struts-config.xml files.  If you don't need a custom reset() or validate()
method, you no longer need to write an ActionForm subclass at all.  Even if you
do, those are the only methods you have to override -- no more tedious creation
of property getter and setter methods.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 9939] - tag trims out Leading/ Trailing spaces...

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9939

 tag trims out Leading/ Trailing spaces...

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:25 ---
Actually,  does *not* filter out any leading or trailing spaces --
it renders *exactly* the contents of the data value you reference returns (once
converted to a String).  However, if you are outputting HTML text, the browser
will typically compress multiple spaces into a single one, because that is the
way HTML is defined to operate.

If you want spaces to be significant, I would recommend that you nest the
 tag inside something like a  ...  pair, which tells the
browser to treat these spaces as significant.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4444] - Feature to display errors against individual input fields

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=

Feature to display errors against individual input fields

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:36 ---
You can already do this by using the "property" attribute on  to
grab  only the error messages for that particular property name.  If there are
no errors for that property, the tag will output nothing.

In Struts 1.1, as of nightly build 20020623, you have the ability to define
"errors.prefix" and "errors.suffix" messages in your application resources,
which are rendered before and after each message that is actually selected. 
That lets you do things like listing the messages in  elements, without
embedding the HTML markup directly in the messages.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4868] - FormTag.java styleId attribute conflicting with XHTML id attribute

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4868

FormTag.java styleId attribute conflicting with XHTML id attribute

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:45 ---
Struts HTML tags are designed (primarily) to be compatible with HTML/4.01, where
the "id" attribute is very commonly used to select styles from a stylesheet. 
Therefore, there needs to be a way to generate this attribute in the HTML
elements generated by the Struts tags.  Struts, however, has to assume that the
page author is using this attribute as intended by the underlying specifications.

On the  element, "name" is often used in JavaScript functions on the same
page to reference the DOM of the form in question.  It would also create nasty
backwards incompatibilities to forgo generating it now.  Therefore, I don't plan
to change how Struts deals with this.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4929] - nested NullPointerException not defented with ignore="true"

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4929

nested NullPointerException not defented with ignore="true"

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:47 ---
Pre-creating the intervening beans whose properties are referenced by
expressions like "firmUser.username" is the responsibility of the application. 
Changing Struts's behavior to ignore this scenario would mask application bugs,
and make it very difficult to track down what is really going on.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5157] - logic:iterate attributes inconsistent with rest of struts

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5157

logic:iterate attributes inconsistent with rest of struts

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:49 ---
Note that the iteration tags in the recently released JSP Standard Tag Library
(JSTL) support exactly this sort of thing.  In the long term, I suggest that
Struts users plan to migrate to JSTL over the existing tags in the struts-bean
and struts-logic libraries.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5244] - Declaritive Exception Handling

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5244

Declaritive Exception Handling

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 05:50 ---
Struts 1.1 supports declarative exception handling, including exception hierarchies.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: