Prashant,

If you want to know how exactly Struts handles the request, you can
use MaintainJ Eclipse plugin to generate the runtime UML sequence
diagram. It clearly shows the object interaction at runtime, which
would give you a quick overview.

Check the http://maintainj.com/userGuide.jsp?param=jar#runningApps for
a sample Struts application using Struts 1.1 jar files.

For a quick look, check these sample sequence and class diagram
snapshots that deal with the form validation.

Struts validation sequence diagram -
http://maintainj.com/samples/StrutsValidatorSequence.jpg

Struts validation class diagram -
http://maintainj.com/samples/StrutsValidatorClass.jpg

MaintainJ can be used to generate simple and useful runtime sequence
and class diagrams for any Java application with either source code or
jar files. It takes a very different approach than existing reverse
engineering tools and answers exactly the kind of questions you just
asked - 'What exactly happens when I click this button?'.

Regards,
Choudary Kothapalli.

On 8/14/07, Yayo <[EMAIL PROTECTED]> wrote:
> Hi Prashant
>
> I recomend you to read the starting guide, it comes with the struts bundle
> and explains everything you've asked, you can read it online here:
> http://struts.apache.org/1.3.9/userGuide/index.html
>
> On 8/13/07, Prashant Baviskar <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I am new to struts.
> >
> > Can any one explains when we submit the form,
> >
> > How the struts-config.xml is read,
> >
> > How form bean is populated,
> >
> > >>>>>How validator plug-in is read from deployment descriptor.
> >
> > >>>>>How validation is performed
> >
> > & how execute method gets called.
> >
> >
> >
> > Question indicated with arrow are more important.
> >
> > As I want to explicitly call validator framework of struts (Without using
> > struts framework & web/app server).
> >
> > I want to know the classes in struts framework which are responsible for
> > this
> >
> >
> >
> > --Thanks & Regards
> >
> > Prashant Baviskar
> >
> >
> >
> >
> > http://www.patni.com
> > World-Wide Partnerships. World-Class Solutions.
> > _____________________________________________________________________
> >
> > This e-mail message may contain proprietary, confidential or legally
> > privileged information for the sole use of the person or entity to
> > whom this message was originally addressed. Any review, e-transmission
> > dissemination or other use of or taking of any action in reliance upon
> > this information by persons or entities other than the intended
> > recipient is prohibited. If you have received this e-mail in error
> > kindly delete  this e-mail from your records. If it appears that this
> > mail has been forwarded to you without proper authority, please notify
> > us immediately at [EMAIL PROTECTED] and delete this mail.
> > _____________________________________________________________________
> >
>
>
>
> --
> "Nada fija tan intensamente una cosa a la memoria como el deseo de
> olvidarla." (Michel de Montaigne)
>
> http://yayocaturas.blogspot.com/
>

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

Reply via email to