Struts Mysql connection

I

infonote

Hi,

I managed to make a login form that works in Struts.

Now i want to make a connection with MySql Database (created already)

Anyone know a site or can someone explain how to do it in struts.

Thanks in advance.
 
J

Jon Martin Solaas

infonote said:
Hi,

I managed to make a login form that works in Struts.

Now i want to make a connection with MySql Database (created already)

Anyone know a site or can someone explain how to do it in struts.

Thanks in advance.

Apparently google knows many such sites:

www.google.com -> Search "struts datasource manager" ->

http://struts.apache.org/struts-doc-1.2.9/faqs/database.html
http://www.roseindia.net/struts/strutsdatasourcemanagerontomcat5.shtml

etc.

Not surprisingly one of them refers to the Struts documentation ...
 
I

infonote

Thanks,

Why is there this set property in the struts-config.xml?

<set-property
property="validationQuery"
value="SELECT COUNT(*) FROM market" />
 
Joined
Aug 13, 2010
Messages
1
Reaction score
0
hey, can anyone help me on how to use <html:link in struts what i want to do is to recognize the link in the controller class, i am messing up things like action, paramname, paramvalue, paramid etc... need help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top