Re: "A Walking Tour of the Struts Example Application" does not match the code!

2003-10-30 Thread Ted Husted
Steven Woody wrote:
> I'm new to Struts, so a begining example is very important for me. 
Is this a version conflict?  Where is the correct tour for the 
MailReader example?

I originally wrote the tour when I was new to Struts and trying to 
figure out the example.

Learning Struts by updating the tour document might be an excellent 
exercise for someone who's truly interested in figuring out how things 
work. :)

-Ted.


Hi, list

The "A Walking Tour of the Struts Example Application" (MailReader example) seems not to match the code come with release 1.1.   A few minutes after I began to read the document, I got:

--- cut ---
If you check the application's web.xml, you will see how these objects are loaded. The 
message resource is loaded by the application parameter to the ActionServlet. When the 
ActionServlet initializes, it parses the ApplicationResources.properties in the 
package folder into the default message resource. If you change a message in the 
resource, and then reload the application, it will appear throughout the application.
--- end ---
But in the web.xml, I dont find anything to loading those mentioned objects and message resource.  They are loaded in the strut-config.xml in fact.

I'm new to Struts, so a begining example is very important for me.  Is this a version conflict?  Where is the correct tour for the MailReader example?

--
Steven Woody
[EMAIL PROTECTED]
--
Ted Husted,
  Junit in Action  - ,
  Struts in Action - ,
  JSP Site Design  - .


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: "A Walking Tour of the Struts Example Application" does not match the code!

2003-10-30 Thread Steven Woody
Thank you!

- Original Message - 
From: "Steve Raeburn" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 3:44 PM
Subject: RE: "A Walking Tour of the Struts Example Application" does not match the 
code!


> Unfortunately, this documention *is* out of date with the sample
> application.
> It has been noted as something that needs to be done but no-one's found
> time to do it yet.
> 
> The tutorials page
> (http://jakarta.apache.org/struts/resources/tutorials.html) lists some
> alternatives.
> Rick Reumann's tutorial is worth a look.
> 
> Steve
> 
> > -Original Message-
> > From: Steven Woody [mailto:[EMAIL PROTECTED]
> > Sent: October 29, 2003 10:27 PM
> > To: structs-user
> > Subject: "A Walking Tour of the Struts Example Application" does not
> > match the code!
> >
> >
> > Hi, list
> >
> > The "A Walking Tour of the Struts Example Application"
> > (MailReader example) seems not to match the code come with
> > release 1.1.   A few minutes after I began to read the
> > document, I got:
> >
> > --- cut ---
> > If you check the application's web.xml, you will see how
> > these objects are loaded. The message resource is loaded by
> > the application parameter to the ActionServlet. When the
> > ActionServlet initializes, it parses the
> > ApplicationResources.properties in the package folder into
> > the default message resource. If you change a message in the
> > resource, and then reload the application, it will appear
> > throughout the application.
> > --- end ---
> >
> > But in the web.xml, I dont find anything to loading those
> > mentioned objects and message resource.  They are loaded in
> > the strut-config.xml in fact.
> >
> > I'm new to Struts, so a begining example is very important
> > for me.  Is this a version conflict?  Where is the correct
> > tour for the MailReader example?
> >
> > --
> > Steven Woody
> > [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

RE: "A Walking Tour of the Struts Example Application" does not match the code!

2003-10-30 Thread Steve Raeburn
Unfortunately, this documention *is* out of date with the sample
application.
It has been noted as something that needs to be done but no-one's found
time to do it yet.

The tutorials page
(http://jakarta.apache.org/struts/resources/tutorials.html) lists some
alternatives.
Rick Reumann's tutorial is worth a look.

Steve

> -Original Message-
> From: Steven Woody [mailto:[EMAIL PROTECTED]
> Sent: October 29, 2003 10:27 PM
> To: structs-user
> Subject: "A Walking Tour of the Struts Example Application" does not
> match the code!
>
>
> Hi, list
>
> The "A Walking Tour of the Struts Example Application"
> (MailReader example) seems not to match the code come with
> release 1.1.   A few minutes after I began to read the
> document, I got:
>
> --- cut ---
> If you check the application's web.xml, you will see how
> these objects are loaded. The message resource is loaded by
> the application parameter to the ActionServlet. When the
> ActionServlet initializes, it parses the
> ApplicationResources.properties in the package folder into
> the default message resource. If you change a message in the
> resource, and then reload the application, it will appear
> throughout the application.
> --- end ---
>
> But in the web.xml, I dont find anything to loading those
> mentioned objects and message resource.  They are loaded in
> the strut-config.xml in fact.
>
> I'm new to Struts, so a begining example is very important
> for me.  Is this a version conflict?  Where is the correct
> tour for the MailReader example?
>
> --
> Steven Woody
> [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]