|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
How exactly It happens !!!!!!!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 netadmin@... and delete this mail. _____________________________________________________________________ |
|
|
Re: How exactly It happens !!!!!!!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 <Prashant.Baviskar@...> 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 netadmin@... 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/ |
|
|
Re: How exactly It happens !!!!!!!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 <eduyayo@...> 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 <Prashant.Baviskar@...> 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 netadmin@... 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: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: How exactly It happens !!!!!!!On 8/13/07, Prashant Baviskar <Prashant.Baviskar@...> wrote:
> >>>>>How validator plug-in is read from deployment descriptor. > > >>>>>How validation is performed > > 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 http://commons.apache.org/validator/ Struts validation uses apache commons validation. If all you want is the validation techniques you want the apache commons validation. The code called by the struts validator is the code of apache commons validator. If you don't want the struts framework or any kind of web/app server, then why would you care about how struts does anything. If you need to validate a value apache commons wil help you. http://commons.apache.org/validator/ I get the feeling you want to define an xml file with validation rules and plug this into an app. Apache commons validator is what you want to use. It has everything you need. What is it about struts that you want that isn't covered by apache commons validator? http://commons.apache.org/validator/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
| Free Forum Powered by Nabble | Forum Help |