aspose file tools*
The moose likes Servlets and the fly likes important! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "important!" Watch "important!" New topic
Author

important!

Jimi Rock
Ranch Hand

Joined: Feb 19, 2001
Posts: 134
Hi all,
I need to know if I need to use JDBC if I have a jsp page that uses beans. if not, this means that beans can handle data base connection?
Thanks,
Jimi.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
In general, if you are using beans in your JSP, then the beans should do all the behind-the-scenes stuff. And this includes database access. So the beans (or whatever creates them) should be coded up to use JDBC, and the JSP just asks the beans for values.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: important!