You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by James Mitchell <jm...@apache.org> on 2003/10/01 05:16:23 UTC

Re: cvs commit: jakarta-struts/web/test/test/org/apache/struts/taglib/html TestErrorsTag1.jsp TestErrorsTag2.jsp

Sorry for the late response...been....well....busy busy.

This problem is definitely within cactus (or our mis-configuration of it) as
the tags work fine in a normal application.  I have tried 13-1.4 and
13-1.4.1, both fail with the same issue (wrong port)

Just to make sure that I'm not going insane, I:
 - grabbed a new (not update) checkout from cvs
 - changed "cactus.contextPort" to run on 8082
 - added a few System.out.println() statements to the TestIncludeTag.jsp
   that print out the server.getServerPort() to the console.

I even went so far as to add a reference to the /examples app in the <Host>
element of the /conf/test/tomcat41/server.xml, and as the tests were running
I hit http://localhost:8082/examples directly from a browser and checked out
the jsp snoop page.......guess what......request.getServerPort() shows 8082.


I vaguely remember this happening to me quite a ways back.  IIRC, there were
some incompatibilities between some of the jars in one or more of the cactus
distributions.  I believe that was one of the reasons that I added all of
the different cactus configurations to the build.properties.sample file.


So, as a last resort, I changed the tests to run on port 80
(cactus.contextPort = 80).
With that the TestIncludeTag now passes, but then the test fails on
TestBaseTag, which expects:
  http://localhost:80/test/blah/blah

...however, the test outputs (which is actually correct):
  http://localhost/blah/blah

Jeez!  I can't win any way I try!!!

So, at this point, we need to figure out why or how the configuration is
screwed.  Well, I can't waste any more time on this, I hope someone with a
better understanding of Cactus can figure this out.......Bill????...you out
there?

Peace!

--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
770.822.3359
AIM:jmitchtx



----- Original Message ----- 
From: "James Mitchell" <jm...@apache.org>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Tuesday, September 30, 2003 6:59 AM
Subject: Re: cvs commit:
jakarta-struts/web/test/test/org/apache/struts/taglib/html
TestErrorsTag1.jsp TestErrorsTag2.jsp


> Yes, I'm seeing the same thing.  I'll take a look at it later today as
well.
> Are you able to run all the tests under 3.3?
>
>
> --
> James Mitchell
> Software Engineer / Struts Evangelist
> http://www.struts-atlanta.org
> 678.910.8017
> 770.822.3359
> AIM:jmitchtx
>
>
>
> ----- Original Message ----- 
> From: "Robert Leland" <rl...@apache.org>
> To: "Struts Developers List" <st...@jakarta.apache.org>
> Sent: Tuesday, September 30, 2003 12:16 AM
> Subject: Re: cvs commit:
> jakarta-struts/web/test/test/org/apache/struts/taglib/html
> TestErrorsTag1.jsp TestErrorsTag2.jsp
>
>
> > James Mitchell wrote:
> >
> > >Well, I was in the middle of a reply on another thread (about this), so
> I'll
> > >just put it here instead.
> > >
> > >
> > >With the latest changes I just committed, the tests pass on Tomcat
3.3.x
> > >
> > >However, I still cannot get them to pass on 4.0.x or 4.1.x.  It seems
> that
> > >the container (in both cases), while running on port 8080 in my
> > >configuration, thinks it is running on port 80, which is causing the
> > >bean:include tests to fail.  I'm not sure where in the configuration of
> the
> > >tests that we need to make changes or if that's even the problem, so
I'm
> > >still checking into it.......just thought I would drop a quick note.
> > >
> > >
> > Thats what I discovered when I filed the bug report originally.
> > Since no one replied to teh reports I figured it was me.
> > At first I suspected the token substitution that I had did so that
> > none of the server.xml files would have to be hard coded.
> > However looking at the generated files under target/test/tomcat41
> > they look ok. Look at the cactus logs do you see the serialization error
> > message ?
> >
> >
> > So I am glad to see we're both having the same problem :),
> > but unhappy about that also :(
> >
> > >
> > >
> > >--
> > >James Mitchell
> > >Software Engineer / Struts Evangelist
> > >http://www.struts-atlanta.org
> > >678.910.8017
> > >770.822.3359
> > >AIM:jmitchtx
> > >
> > >
> > >
> > >----- Original Message ----- 
> > >From: "Chris Gastin" <ch...@gastin.com>
> > >To: "Struts Developers List" <st...@jakarta.apache.org>
> > >Sent: Monday, September 29, 2003 10:49 PM
> > >Subject: Re: cvs commit:
> > >jakarta-struts/web/test/test/org/apache/struts/taglib/html
> > >TestErrorsTag1.jsp TestErrorsTag2.jsp
> > >
> > >
> > >
> > >
> > >>James:
> > >>
> > >>You committed the following file:
> > >>
> > >>    *
> > >>
> > >>
> > >>
> >
>
>jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestErrorsTag1.j
> s
> > >
> > >
> > >>p.
> > >>    *
> > >>
> > >>
> > >>
> >
>
>jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestErrorsTag2.j
> s
> > >
> > >
> > >>p.
> > >>
> > >>Are these unit tests working for you. I am trying to find at least one
> > >>taglib unit test that works,so I can determine if it my local
> environment
> > >>
> > >>
> > >or
> > >
> > >
> > >>or the tests which are blowing up. I am not to familiar with Cactus,
and
> > >>
> > >>
> > >its
> > >
> > >
> > >>setup.
> > >>
> > >>Thanks,
> > >>Chris Gastin
> > >>
> > >>----- Original Message ----- 
> > >>From: <jm...@apache.org>
> > >>To: <ja...@apache.org>
> > >>Sent: Monday, September 29, 2003 7:49 PM
> > >>Subject: cvs commit:
> > >>jakarta-struts/web/test/test/org/apache/struts/taglib/html
> > >>TestErrorsTag1.jsp TestErrorsTag2.jsp
> > >>
> > >>
> > >>
> > >>
> > >>>jmitchell    2003/09/29 17:49:11
> > >>>
> > >>>  Modified:    web/test/test/org/apache/struts/taglib/html
> > >>>                        TestErrorsTag1.jsp TestErrorsTag2.jsp
> > >>>  Log:
> > >>>  Update taglib tests.
> > >>>
> > >>>  I suspect that many of the failures are due to changes in
> > >>>  whitespace output (or lack of it).
> > >>>
> > >>>  Revision  Changes    Path
> > >>>  1.4       +16 -64
> > >>>
> > >>>
> >
>
>jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestErrorsTag1.j
> s
> > >
> > >
> > >>p
> > >>
> > >>
> > >>>  Index: TestErrorsTag1.jsp
> > >>>  ===================================================================
> > >>>  RCS file:
> > >>>
> > >>>
> >
>
>/home/cvs/jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestEr
> r
> > >
> > >
> > >>orsTag1.jsp,v
> > >>
> > >>
> > >>>  retrieving revision 1.3
> > >>>  retrieving revision 1.4
> > >>>  diff -u -r1.3 -r1.4
> > >>>  --- TestErrorsTag1.jsp 10 Mar 2003 17:29:52 -0000 1.3
> > >>>  +++ TestErrorsTag1.jsp 30 Sep 2003 00:49:11 -0000 1.4
> > >>>  @@ -34,10 +34,7 @@
> > >>>   My Errors go here:<html:errors/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header>
> > >>>  -<default_errors_prefix>My Errors Text
> > >>>  -<default_errors_suffix><default_errors_prefix>My Errors Text 2
> > >>>  -<default_errors_suffix><default_errors_footer>
> > >>>  + My Errors go
here:<default_errors_header><default_errors_prefix>My
> > >>>
> > >>>
> > >>Errors Text<default_errors_suffix><default_errors_prefix>My Errors
Text
> > >>2<default_errors_suffix><default_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -68,10 +65,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header>
> > >>>  -<alternate_errors_prefix>My Alternate Errors Text
> > >>>  -<alternate_errors_suffix><alternate_errors_prefix>My Alternate
> Errors
> > >>>
> > >>>
> > >>Text 2
> > >>
> > >>
> > >>>  -<alternate_errors_suffix><alternate_errors_footer>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >here:<alternate_errors_header><alternate_errors_prefix>My
> > >
> > >
> > >>Alternate Errors
> Text<alternate_errors_suffix><alternate_errors_prefix>My
> > >>Alternate Errors Text
> 2<alternate_errors_suffix><alternate_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -101,10 +95,7 @@
> > >>>   My Errors go here:<html:errors/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -132,10 +123,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -166,10 +154,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -196,10 +181,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -226,10 +208,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -257,10 +236,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -296,10 +272,7 @@
> > >>>   My Errors go here:<html:errors name="MY_ERRORS_KEY"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header>
> > >>>  -<default_errors_prefix>My Errors Text
> > >>>  -<default_errors_suffix><default_errors_prefix>My Errors Text 2
> > >>>  -<default_errors_suffix><default_errors_footer>
> > >>>  + My Errors go
here:<default_errors_header><default_errors_prefix>My
> > >>>
> > >>>
> > >>Errors Text<default_errors_suffix><default_errors_prefix>My Errors
Text
> > >>2<default_errors_suffix><default_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -326,10 +299,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"
> > >>>
> > >>>
> > >>name="MY_ERRORS_KEY"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header>
> > >>>  -<alternate_errors_prefix>My Alternate Errors Text
> > >>>  -<alternate_errors_suffix><alternate_errors_prefix>My Alternate
> Errors
> > >>>
> > >>>
> > >>Text 2
> > >>
> > >>
> > >>>  -<alternate_errors_suffix><alternate_errors_footer>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >here:<alternate_errors_header><alternate_errors_prefix>My
> > >
> > >
> > >>Alternate Errors
> Text<alternate_errors_suffix><alternate_errors_prefix>My
> > >>Alternate Errors Text
> 2<alternate_errors_suffix><alternate_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -356,10 +326,7 @@
> > >>>   My Errors go here:<html:errors name="MY_ERRORS_KEY"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -387,10 +354,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"
> > >>>
> > >>>
> > >>name="MY_ERRORS_KEY"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -427,10 +391,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>name="MY_ERRORS_KEY"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -457,10 +418,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate" name="MY_ERRORS_KEY"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -487,10 +445,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>name="MY_ERRORS_KEY"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -518,10 +473,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate" name="MY_ERRORS_KEY"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>  1.4       +16 -64
> > >>>
> > >>>
> >
>
>jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestErrorsTag2.j
> s
> > >
> > >
> > >>p
> > >>
> > >>
> > >>>  Index: TestErrorsTag2.jsp
> > >>>  ===================================================================
> > >>>  RCS file:
> > >>>
> > >>>
> >
>
>/home/cvs/jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestEr
> r
> > >
> > >
> > >>orsTag2.jsp,v
> > >>
> > >>
> > >>>  retrieving revision 1.3
> > >>>  retrieving revision 1.4
> > >>>  diff -u -r1.3 -r1.4
> > >>>  --- TestErrorsTag2.jsp 10 Mar 2003 17:29:52 -0000 1.3
> > >>>  +++ TestErrorsTag2.jsp 30 Sep 2003 00:49:11 -0000 1.4
> > >>>  @@ -35,10 +35,7 @@
> > >>>   My Errors go here:<html:errors property="someProperty"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header>
> > >>>  -<default_errors_prefix>My Errors Text
> > >>>  -<default_errors_suffix><default_errors_prefix>My Errors Text 2
> > >>>  -<default_errors_suffix><default_errors_footer>
> > >>>  + My Errors go
here:<default_errors_header><default_errors_prefix>My
> > >>>
> > >>>
> > >>Errors Text<default_errors_suffix><default_errors_prefix>My Errors
Text
> > >>2<default_errors_suffix><default_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -69,10 +66,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"
> > >>>
> > >>>
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header>
> > >>>  -<alternate_errors_prefix>My Alternate Errors Text
> > >>>  -<alternate_errors_suffix><alternate_errors_prefix>My Alternate
> Errors
> > >>>
> > >>>
> > >>Text 2
> > >>
> > >>
> > >>>  -<alternate_errors_suffix><alternate_errors_footer>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >here:<alternate_errors_header><alternate_errors_prefix>My
> > >
> > >
> > >>Alternate Errors
> Text<alternate_errors_suffix><alternate_errors_prefix>My
> > >>Alternate Errors Text
> 2<alternate_errors_suffix><alternate_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -102,10 +96,7 @@
> > >>>   My Errors go here:<html:errors property="someProperty"/>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -133,10 +124,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"
> > >>>
> > >>>
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -167,10 +155,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -197,10 +182,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate" property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -227,10 +209,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -258,10 +237,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate" property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -297,10 +273,7 @@
> > >>>   My Errors go here:<html:errors name="MY_ERRORS_KEY"
> > >>>
> > >>>
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header>
> > >>>  -<default_errors_prefix>My Errors Text
> > >>>  -<default_errors_suffix><default_errors_prefix>My Errors Text 2
> > >>>  -<default_errors_suffix><default_errors_footer>
> > >>>  + My Errors go
here:<default_errors_header><default_errors_prefix>My
> > >>>
> > >>>
> > >>Errors Text<default_errors_suffix><default_errors_prefix>My Errors
Text
> > >>2<default_errors_suffix><default_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -327,10 +300,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"
> > >>>
> > >>>
> > >name="MY_ERRORS_KEY"
> > >
> > >
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header>
> > >>>  -<alternate_errors_prefix>My Alternate Errors Text
> > >>>  -<alternate_errors_suffix><alternate_errors_prefix>My Alternate
> Errors
> > >>>
> > >>>
> > >>Text 2
> > >>
> > >>
> > >>>  -<alternate_errors_suffix><alternate_errors_footer>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >here:<alternate_errors_header><alternate_errors_prefix>My
> > >
> > >
> > >>Alternate Errors
> Text<alternate_errors_suffix><alternate_errors_prefix>My
> > >>Alternate Errors Text
> 2<alternate_errors_suffix><alternate_errors_footer>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -357,10 +327,7 @@
> > >>>   My Errors go here:<html:errors name="MY_ERRORS_KEY"
> > >>>
> > >>>
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -388,10 +355,7 @@
> > >>>   My Errors go here:<html:errors bundle="alternate"
> > >>>
> > >>>
> > >name="MY_ERRORS_KEY"
> > >
> > >
> > >>property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -428,10 +392,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>name="MY_ERRORS_KEY" property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -458,10 +419,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate" name="MY_ERRORS_KEY" property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -488,10 +446,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>name="MY_ERRORS_KEY" property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<default_errors_header_fr>
> > >>>  -<default_errors_prefix_fr>My Errors Text (fr)
> > >>>  -<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>>
> > >>>
> > >>(fr)
> > >>
> > >>
> > >>>  -<default_errors_suffix_fr><default_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<default_errors_header_fr><default_errors_prefix_fr>My Errors
Text
> > >>(fr)<default_errors_suffix_fr><default_errors_prefix_fr>My Errors Text
2
> > >>(fr)<default_errors_suffix_fr><default_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>  @@ -519,10 +474,7 @@
> > >>>   My Errors go here:<html:errors locale="MY_LOCALE_KEY"
> > >>>
> > >>>
> > >>bundle="alternate" name="MY_ERRORS_KEY" property="someProperty"/>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   <bean:define id="TEST_RESULTS" toScope="page">
> > >>>  - My Errors go here:<alternate_errors_header_fr>
> > >>>  -<alternate_errors_prefix_fr>My Alternate Errors Text (fr)
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
Alternate
> > >>>
> > >>>
> > >>Errors Text 2 (fr)
> > >>
> > >>
> > >>>  -<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>>  + My Errors go
> > >>>
> > >>>
> > >>here:<alternate_errors_header_fr><alternate_errors_prefix_fr>My
> Alternate
> > >>Errors Text
> (fr)<alternate_errors_suffix_fr><alternate_errors_prefix_fr>My
> > >>Alternate Errors Text 2
> > >>(fr)<alternate_errors_suffix_fr><alternate_errors_footer_fr>
> > >>
> > >>
> > >>>   </bean:define>
> > >>>   </logic:equal>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> > >>>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> > >>>
> > >>>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> > >>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> > >>
> > >>
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org


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