Click here to Skip to main content
15,915,328 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,
i wanted to know how many class files I hava to make for a database program in struts frame work.i want to know the step by step process for creating a database connection with MYSQL and also that piece of code...


I m making a log-in page in struts application ..so I couldn't understand how can i fetch out an entire data base of a single person by giving user-id detail in log-in page by a database connection on program..


* i don't want any link for this answer,must be a satisfying theoretical answr

thanx ,
trupti
Posted
Updated 25-Apr-13 23:07pm
v4
Comments
Shubhashish_Mandal 26-Apr-13 4:46am    
To create database connection is very easy and for mysql you need only one jar file. But you have to tell me which version of struts you using and do you want to create simple connection or want to create datasource?
Trupti001 26-Apr-13 5:31am    
struts 2.1 and simple connection......


thanx.
Trupti001 26-Apr-13 5:00am    
through "add project capabilities" when i m adding struts 2.1 (in myeclipse) also i m not getting that tld file in my project
Shubhashish_Mandal 26-Apr-13 5:06am    
Is your previous issue resolved? If yes then start a new thread to ask your next question.
Richard MacCutchan 26-Apr-13 5:08am    
Please don't make demands in your questions. You are not paying for answers so you will have to be satisfied with what you get.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900