You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Salish S <ss...@gmail.com> on 2010/07/09 14:39:16 UTC
Fwd: hi please help me struts2
---------- Forwarded message ----------
From: Salish S <ss...@gmail.com>
Date: Fri, Jul 9, 2010 at 6:07 PM
Subject: hi please help me struts2
To: "eswar@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
Re: hi please help me struts2
Posted by Salish S <ss...@gmail.com>.
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 <el...@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 <ss...@gmail.com> wrote:
> > ---------- Forwarded message ----------
> > From: Salish S <ss...@gmail.com>
> > Date: Fri, Jul 9, 2010 at 6:07 PM
> > Subject: hi please help me struts2
> > To: "eswar@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
Re: hi please help me struts2
Posted by Brian Thompson <el...@gmail.com>.
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 <ss...@gmail.com> wrote:
> ---------- Forwarded message ----------
> From: Salish S <ss...@gmail.com>
> Date: Fri, Jul 9, 2010 at 6:07 PM
> Subject: hi please help me struts2
> To: "eswar@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org