hi,
can u tel me where should i place the code for database connection?..is it placed in the same directory as other jsp and html files?....shall i put it in a java bean and then include it in all the other jsp files?..i
Ankita B
2
Light Poster
Recommended Answers
Jump to PostYou can always create an class and place the code there and then use the class in your jsp pages to access the DB.
All 3 Replies
Zhoot
0
Light Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Ankita B
2
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.