Muki--

The names in the config files/DTDs can seem very
counter intuitive.  Managing the files by hand in
general is cumbersome and that's why I developed the
Struts Console software.

http://www.jamesholmes.com/struts/

I'm adding some functionality in the near future that
will give explanations for each element and their
attributes thus making it easier for newbies to get up
to speed.

-james
[EMAIL PROTECTED]


--- "Soomar, Muki (R.)" <[EMAIL PROTECTED]> wrote:
> I am still new to struts and going through the
> documentation.
> Here are some general questions for the gurus who
> understand the 
> DTDs for struts-config.xml file and its usage.
> 
> <action> element
> 1. Why is the attribute "type" for the <action>
> element named so. Wouldnt
> the attribute name "action-class" be more intuitive
> here ? 
> 
> 2(a). Attribute "name" for the same <action> element
> refers to the
> form. Again "form-class" would have been more
> intuitive. 
> 
> 2(b) Attribute "attribute" also refers to the form
> class for the example application.
> I am confused between the usage of the two. (Still
> need to do a bit more digging,
> but intuitive attribute names would have helped in
> the first reading very much !)
> 
> 3. Attribute "input" is intuitive, but "input-uri"
> or "input-url" would have been
> more intuitive
> 
> 4. Sub-element <forward> has attribute "name" that
> refers to the type of 
> result based on which forwards could be redirected.
> Wouldnt it be simpler
> to just call this attribute "result-type" instead of
> "name".
> 
> Any particular reasons for this naming convention. I
> just figured, I have
> to carry another mapper in my head to figure out the
> true meaning of these
> attributes. Maybe, I need to interpret them in a
> different manner.  
> 
> Any feed back would be much appreciated. Thanks and
> 
> Regards,
> 
> Muki Soomar
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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

Reply via email to