You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "A. Lotfi" <ma...@yahoo.com> on 2009/11/28 17:39:50 UTC
Any Struts + mysql example ?
Hi,
I Please if you know about a nice example or a small proj using struts and mysql I would appreciate.
thanks
Re: Any Struts + mysql example ?
Posted by Saeed Iqbal <sa...@gmail.com>.
Martin: I am not sure of the correct terminology. My being a non native
English speaker has cost me jobs already :(
On Sun, Nov 29, 2009 at 10:01 AM, Martin Gainty <mg...@hotmail.com> wrote:
>
> the Spring 2.5 distro has a Hibernate example
> org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
>
> did you say Struts is the view ..perhaps you meant Struts-taglib is used in
> the jsp???
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > Date: Sun, 29 Nov 2009 02:55:47 +0000
> > From: larryreed@comcast.net
> > To: user@struts.apache.org
> > Subject: Re: Any Struts + mysql example ?
> >
> > Another example using JPA/Hibernate would be the Struts2InAction example
> from the book of that name.
> >
> > ----- Original Message -----
> > From: "Saeed Iqbal" <sa...@gmail.com>
> > To: "Struts Users Mailing List" <us...@struts.apache.org>
> > Sent: Saturday, November 28, 2009 6:52:29 PM GMT -08:00 US/Canada Pacific
> > Subject: Re: Any Struts + mysql example ?
> >
> > I wouldnt have a JDBC example but i have a MVC example where Model ORM is
> > Hibernate, Controller is Spring and View is Struts
> >
> > Search for startsoft in google code
> >
> > On Sat, Nov 28, 2009 at 9:50 PM, A. Lotfi <ma...@yahoo.com> wrote:
> >
> > > with jdbc,
> > >
> > > thanks
> > >
> > > --- On Sat, 11/28/09, Saeed Iqbal <sa...@gmail.com> wrote:
> > >
> > >
> > > From: Saeed Iqbal <sa...@gmail.com>
> > > Subject: Re: Any Struts + mysql example ?
> > > To: "Struts Users Mailing List" <us...@struts.apache.org>
> > > Date: Saturday, November 28, 2009, 11:41 AM
> > >
> > >
> > > Struts with JDBC? or JPA/Hibernate
> > >
> > > On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi <ma...@yahoo.com>
> wrote:
> > >
> > > > Hi,
> > > >
> > > > I Please if you know about a nice example or a small proj using
> struts
> > > and
> > > > mysql I would appreciate.
> > > >
> > > > thanks
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > Saeed Iqbal
> > > http://www.iqbalconsulting.com
> > > Struts - J2EE - Application Architect / Developer
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > Saeed Iqbal
> > http://www.iqbalconsulting.com
> > Struts - J2EE - Application Architect / Developer
>
> _________________________________________________________________
> Bing brings you maps, menus, and reviews organized in one place.
>
> http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1
--
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer
RE: Any Struts + mysql example ?
Posted by Martin Gainty <mg...@hotmail.com>.
the Spring 2.5 distro has a Hibernate example
org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
did you say Struts is the view ..perhaps you meant Struts-taglib is used in the jsp???
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Sun, 29 Nov 2009 02:55:47 +0000
> From: larryreed@comcast.net
> To: user@struts.apache.org
> Subject: Re: Any Struts + mysql example ?
>
> Another example using JPA/Hibernate would be the Struts2InAction example from the book of that name.
>
> ----- Original Message -----
> From: "Saeed Iqbal" <sa...@gmail.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Saturday, November 28, 2009 6:52:29 PM GMT -08:00 US/Canada Pacific
> Subject: Re: Any Struts + mysql example ?
>
> I wouldnt have a JDBC example but i have a MVC example where Model ORM is
> Hibernate, Controller is Spring and View is Struts
>
> Search for startsoft in google code
>
> On Sat, Nov 28, 2009 at 9:50 PM, A. Lotfi <ma...@yahoo.com> wrote:
>
> > with jdbc,
> >
> > thanks
> >
> > --- On Sat, 11/28/09, Saeed Iqbal <sa...@gmail.com> wrote:
> >
> >
> > From: Saeed Iqbal <sa...@gmail.com>
> > Subject: Re: Any Struts + mysql example ?
> > To: "Struts Users Mailing List" <us...@struts.apache.org>
> > Date: Saturday, November 28, 2009, 11:41 AM
> >
> >
> > Struts with JDBC? or JPA/Hibernate
> >
> > On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi <ma...@yahoo.com> wrote:
> >
> > > Hi,
> > >
> > > I Please if you know about a nice example or a small proj using struts
> > and
> > > mysql I would appreciate.
> > >
> > > thanks
> > >
> > >
> > >
> >
> >
> >
> >
> > --
> > Saeed Iqbal
> > http://www.iqbalconsulting.com
> > Struts - J2EE - Application Architect / Developer
> >
> >
> >
> >
> >
>
>
>
> --
> Saeed Iqbal
> http://www.iqbalconsulting.com
> Struts - J2EE - Application Architect / Developer
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1
Re: Any Struts + mysql example ?
Posted by "A. Lotfi" <ma...@yahoo.com>.
Hi Saeed,
would like please send it to me or give me a link to it.
thanks
--- On Sat, 11/28/09, Saeed Iqbal <sa...@gmail.com> wrote:
From: Saeed Iqbal <sa...@gmail.com>
Subject: Re: Any Struts + mysql example ?
To: "Struts Users Mailing List" <us...@struts.apache.org>
Date: Saturday, November 28, 2009, 9:52 PM
I wouldnt have a JDBC example but i have a MVC example where Model ORM is
Hibernate, Controller is Spring and View is Struts
Search for startsoft in google code
On Sat, Nov 28, 2009 at 9:50 PM, A. Lotfi <ma...@yahoo.com> wrote:
> with jdbc,
>
> thanks
>
> --- On Sat, 11/28/09, Saeed Iqbal <sa...@gmail.com> wrote:
>
>
> From: Saeed Iqbal <sa...@gmail.com>
> Subject: Re: Any Struts + mysql example ?
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Date: Saturday, November 28, 2009, 11:41 AM
>
>
> Struts with JDBC? or JPA/Hibernate
>
> On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi <ma...@yahoo.com> wrote:
>
> > Hi,
> >
> > I Please if you know about a nice example or a small proj using struts
> and
> > mysql I would appreciate.
> >
> > thanks
> >
> >
> >
>
>
>
>
> --
> Saeed Iqbal
> http://www.iqbalconsulting.com
> Struts - J2EE - Application Architect / Developer
>
>
>
>
>
--
Saeed Iqbal
http://www.iqbalconsulting.com
Struts - J2EE - Application Architect / Developer
Re: Help me design this struts, please
Posted by emil thushanga <th...@gmail.com>.
Do you know how to setup initial project files you want,
This may be helpful to you if you very basic
=================================
mvn archetype:create -DgroupId=org.apache.struts
-DartifactId=struts2-archetype-starter -DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.11.2
-DremoteRepositories=http://repo1.maven.org/maven2
Emil
On Tue, Dec 1, 2009 at 8:42 PM, Saeed Iqbal <sa...@gmail.com> wrote:
> Yes
>
> i can send u a project where i did that
>
> at this point i dont have time to do all that for you
>
> On Tuesday, December 1, 2009, A. Lotfi <ma...@yahoo.com> wrote:
> >
> > Hi,
> >
> >
> >
> > I have a small project and I am new in struts :
> >
> >
> >
> > DB Tables :
> >
> > User (userId, UserName,...,...)
> >
> > Roles(userId, Rolename,.)
> >
> >
> >
> >
> >
> > I want to have a jsp page :
> >
> >
> >
> > that has a search form : textfield(userId) and a search button
> >
> >
> >
> > when the user type a userid and press search button :
> >
> >
> >
> > all the information from the User table appear + two comboboxes :
> >
> >
> >
> > combobox (All roles in the database)
> >
> > combobox (Assigned roles to this user)
> >
> > two links :
> >
> > right arrow link for revoking roles
> >
> > left arrow link for granting roles
> >
> >
> >
> > could you please help me doing this ?
> >
> >
> >
> > thanks
> >
> >
> >
> > your help is appreciated.
> >
> >
> >
> >
>
> --
> Saeed Iqbal
> Independant Consultant (Freelance)
> Struts - J2EE - Application Architect / Developer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Emil Thushanga
Re: Help me design this struts, please
Posted by Saeed Iqbal <sa...@gmail.com>.
Yes
i can send u a project where i did that
at this point i dont have time to do all that for you
On Tuesday, December 1, 2009, A. Lotfi <ma...@yahoo.com> wrote:
>
> Hi,
>
>
>
> I have a small project and I am new in struts :
>
>
>
> DB Tables :
>
> User (userId, UserName,...,...)
>
> Roles(userId, Rolename,.)
>
>
>
>
>
> I want to have a jsp page :
>
>
>
> that has a search form : textfield(userId) and a search button
>
>
>
> when the user type a userid and press search button :
>
>
>
> all the information from the User table appear + two comboboxes :
>
>
>
> combobox (All roles in the database)
>
> combobox (Assigned roles to this user)
>
> two links :
>
> right arrow link for revoking roles
>
> left arrow link for granting roles
>
>
>
> could you please help me doing this ?
>
>
>
> thanks
>
>
>
> your help is appreciated.
>
>
>
>
--
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Help me design this struts, please
Posted by "A. Lotfi" <ma...@yahoo.com>.
Hi,
I have a small project and I am new in struts :
DB Tables :
User (userId, UserName,...,...)
Roles(userId, Rolename,.)
I want to have a jsp page :
that has a search form : textfield(userId) and a search button
when the user type a userid and press search button :
all the information from the User table appear + two comboboxes :
combobox (All roles in the database)
combobox (Assigned roles to this user)
two links :
right arrow link for revoking roles
left arrow link for granting roles
could you please help me doing this ?
thanks
your help is appreciated.
Re: Any Struts + mysql example ?
Posted by larryreed <la...@comcast.net>.
Another example using JPA/Hibernate would be the Struts2InAction example from the book of that name.
----- Original Message -----
From: "Saeed Iqbal" <sa...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Saturday, November 28, 2009 6:52:29 PM GMT -08:00 US/Canada Pacific
Subject: Re: Any Struts + mysql example ?
I wouldnt have a JDBC example but i have a MVC example where Model ORM is
Hibernate, Controller is Spring and View is Struts
Search for startsoft in google code
On Sat, Nov 28, 2009 at 9:50 PM, A. Lotfi <ma...@yahoo.com> wrote:
> with jdbc,
>
> thanks
>
> --- On Sat, 11/28/09, Saeed Iqbal <sa...@gmail.com> wrote:
>
>
> From: Saeed Iqbal <sa...@gmail.com>
> Subject: Re: Any Struts + mysql example ?
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Date: Saturday, November 28, 2009, 11:41 AM
>
>
> Struts with JDBC? or JPA/Hibernate
>
> On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi <ma...@yahoo.com> wrote:
>
> > Hi,
> >
> > I Please if you know about a nice example or a small proj using struts
> and
> > mysql I would appreciate.
> >
> > thanks
> >
> >
> >
>
>
>
>
> --
> Saeed Iqbal
> http://www.iqbalconsulting.com
> Struts - J2EE - Application Architect / Developer
>
>
>
>
>
--
Saeed Iqbal
http://www.iqbalconsulting.com
Struts - J2EE - Application Architect / Developer
Re: Any Struts + mysql example ?
Posted by Saeed Iqbal <sa...@gmail.com>.
I wouldnt have a JDBC example but i have a MVC example where Model ORM is
Hibernate, Controller is Spring and View is Struts
Search for startsoft in google code
On Sat, Nov 28, 2009 at 9:50 PM, A. Lotfi <ma...@yahoo.com> wrote:
> with jdbc,
>
> thanks
>
> --- On Sat, 11/28/09, Saeed Iqbal <sa...@gmail.com> wrote:
>
>
> From: Saeed Iqbal <sa...@gmail.com>
> Subject: Re: Any Struts + mysql example ?
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Date: Saturday, November 28, 2009, 11:41 AM
>
>
> Struts with JDBC? or JPA/Hibernate
>
> On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi <ma...@yahoo.com> wrote:
>
> > Hi,
> >
> > I Please if you know about a nice example or a small proj using struts
> and
> > mysql I would appreciate.
> >
> > thanks
> >
> >
> >
>
>
>
>
> --
> Saeed Iqbal
> http://www.iqbalconsulting.com
> Struts - J2EE - Application Architect / Developer
>
>
>
>
>
--
Saeed Iqbal
http://www.iqbalconsulting.com
Struts - J2EE - Application Architect / Developer
Re: Any Struts + mysql example ?
Posted by "A. Lotfi" <ma...@yahoo.com>.
with jdbc,
thanks
--- On Sat, 11/28/09, Saeed Iqbal <sa...@gmail.com> wrote:
From: Saeed Iqbal <sa...@gmail.com>
Subject: Re: Any Struts + mysql example ?
To: "Struts Users Mailing List" <us...@struts.apache.org>
Date: Saturday, November 28, 2009, 11:41 AM
Struts with JDBC? or JPA/Hibernate
On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi <ma...@yahoo.com> wrote:
> Hi,
>
> I Please if you know about a nice example or a small proj using struts and
> mysql I would appreciate.
>
> thanks
>
>
>
--
Saeed Iqbal
http://www.iqbalconsulting.com
Struts - J2EE - Application Architect / Developer
Re: Any Struts + mysql example ?
Posted by Saeed Iqbal <sa...@gmail.com>.
Struts with JDBC? or JPA/Hibernate
On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi <ma...@yahoo.com> wrote:
> Hi,
>
> I Please if you know about a nice example or a small proj using struts and
> mysql I would appreciate.
>
> thanks
>
>
>
--
Saeed Iqbal
http://www.iqbalconsulting.com
Struts - J2EE - Application Architect / Developer