• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to connect database using jsp

 
sureshkumarneeli kumar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Can any one tell me how to retrive data or one particular table using jsp. I am using Tomcat 5.0 and oracle10g express edition. Please help breefly i am new using jsp technology
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are new to JSP, then you need to know that performing database access in a JSP is a very very poor practice. Using JSP for anything other than creating the display is severely frowned upon for almost 10 years now, since the inception of JSP 2.0.

All activit├ęs such as database access should be performed in Java classes, not in the JSP, and the results are then sent to the JSP fro display.

I always recommend that novices to JSP read the following articles:
  • The Secret Life of JSPs
  • The Front Man


  • Hopefully they will help set you on the right track.
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!