Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi everybody me Epsan new to this Forum,to Java

 
Epsan Yathati
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to get values from database and display them in the jsp page me using java and jsp oracleXE database
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome!

You should check the JDBC Tutorial but the basic steps are:

1) connect to the database
2) execute the query
3) get results from the query
4) pass details to the JSP
5) close the connection

for example:

 
sourabh girdhar
Ranch Hand
Posts: 71
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can learn about JDBC basics here JDBC Tutorial
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic