For client-side validation: Just write a javascript function and have it run for either the onclick event of the form submit button or the onsubmit event for the form itself.
For "Hibernate by property file", I'm not sure what you mean. I've always used either hibernate.cfg.xml files or annotations in the model classes. Could you post an example of what you're trying to do? -Brian On Fri, Jul 9, 2010 at 7:39 AM, Salish S <ssal...@gmail.com> wrote: > ---------- Forwarded message ---------- > From: Salish S <ssal...@gmail.com> > Date: Fri, Jul 9, 2010 at 6:07 PM > Subject: hi please help me struts2 > To: "es...@vaannila.com" <es...@vaannila.com> > > > Hi > i had gone through the struts2 crud in the > http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html > > its fine and goog pgm for me > but the problem came when i want to add client side validation how i add > clientside validation > i had gone though the hibernate validation also its also fine > http://www.vaannila.com/struts-2/struts-2-tutorial/struts-2-hibernate-validation-tutorial-1.html > > is that clientside validation is doing therer > and very important is that > How can i use hibernate by property file not that by the hibernate.cfg.xml > file to connectt to db in the same example > > please help me > thenkuse > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org