Please ask these question on the user mailing of Apache Bean Validation :) .
On Wed, Nov 10, 2010 at 12:54 PM, Muhammad Asif <[email protected]> wrote: > Thank you very much Mohammad nour El-Din. I am taking a look at the > recommended link. Can you answer a few short questions. > > 1. Do we always need a bean based validation. I believe in this scenario we > must have to create a bean based on our form post > 2. Can we also use a validation framework or more appropriately is there a > validation framework which we can instantiate inside our servlet methods and > feed our form input data into it for validation. > > > Regards, > Asif > > On Wed, Nov 10, 2010 at 5:16 PM, Mohammad Nour El-Din < > [email protected]> wrote: > >> Hey :) >> >> Take a look at this >> http://incubator.apache.org/bval/cwiki/index.html this is the new >> standard based Bean-Validation framework for both JSE and JEE. >> >> On Wed, Nov 10, 2010 at 11:41 AM, Muhammad Asif <[email protected]> >> wrote: >> > Dear all, >> > >> > I am a good programmer and I also had SCJP 1.5 but unfortunately have not >> > worked on Java for a long time. >> > >> > At the moment I want to know how can we use commons validator in a simple >> > servlet or jsp application without any other framework like struts, >> spring >> > or jsf. >> > >> > Can anyone point me to the correct place where I can see this. >> > >> > I have actually searched on the commons validator wiki and other places >> but >> > could not find an example or documentation explaining this in particular. >> > Perhaps my inexperience is one reason that I could not use this commons >> > validator based on the official documentation available. >> > >> > I am quite hopeful that I will get a good and helpful response soon. >> > >> > Regards, >> > Asif >> > >> >> >> >> -- >> Thanks >> - Mohammad Nour >> Author of (WebSphere Application Server Community Edition 2.0 User Guide) >> http://www.redbooks.ibm.com/abstracts/sg247585.html >> - LinkedIn: http://www.linkedin.com/in/mnour >> - Blog: http://tadabborat.blogspot.com >> ---- >> "Life is like riding a bicycle. To keep your balance you must keep moving" >> - Albert Einstein >> >> "Writing clean code is what you must do in order to call yourself a >> professional. There is no reasonable excuse for doing anything less >> than your best." >> - Clean Code: A Handbook of Agile Software Craftsmanship >> >> "Stay hungry, stay foolish." >> - Steve Jobs >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > -- Thanks - Mohammad Nour Author of (WebSphere Application Server Community Edition 2.0 User Guide) http://www.redbooks.ibm.com/abstracts/sg247585.html - LinkedIn: http://www.linkedin.com/in/mnour - Blog: http://tadabborat.blogspot.com ---- "Life is like riding a bicycle. To keep your balance you must keep moving" - Albert Einstein "Writing clean code is what you must do in order to call yourself a professional. There is no reasonable excuse for doing anything less than your best." - Clean Code: A Handbook of Agile Software Craftsmanship "Stay hungry, stay foolish." - Steve Jobs --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
