Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database connection

Status
Not open for further replies.

lagg

Technical User
Oct 14, 2002
111
IE
I want to display some dynamic information on my website. Ive got a database which contains a shortened version of the news headlines, lotto, weather etc. i want to display this information on the website? Im using JSp primarily, will I have to create a bean do to the work for me?
 
>> will I have to create a bean do to the work for me?

first u can just write the code in JSP, but that is not the recommended or standard approach.

u don't have to create an actual "bean". a plain class will do. look at the samples that come with Tomcat most of them use java classes.

Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top