struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salish S <ssal...@gmail.com>
Subject Re: hi please help me struts2
Date Sat, 10 Jul 2010 09:34:29 GMT
thanks for the reply
so by using the struts 2.1.8 jar files from apache the validation by giving
he validation="true" has to worked
for that i asked

on using hibernate the hibernate will make the class by anotation and for
the validation also we has to do the same how can i make a crud with
hibernate as model jsp as view struts2 as controller.
in the struts2 is that the interceptor is excluded for the validation to
remove for inpit and how


On Fri, Jul 9, 2010 at 6:19 PM, Brian Thompson <elephantium@gmail.com>wrote:

> 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 <ssalish@gmail.com> wrote:
> > ---------- Forwarded message ----------
> > From: Salish S <ssalish@gmail.com>
> > Date: Fri, Jul 9, 2010 at 6:07 PM
> > Subject: hi please help me struts2
> > To: "eswar@vaannila.com" <eswar@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message