Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 21st, 2005, 02:22 AM
pb pb is offline
Registered User
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default javaservlet

Hi:

how can I use two sql queries accessing two different tables in same database in mysql in one servlet. Do I need two record set?

thanks
 
Old September 22nd, 2005, 11:57 AM
Registered User
 
Join Date: Sep 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

one solution is to have two resultSet objects each handle one query
firas

 
Old September 23rd, 2005, 12:49 AM
pb pb is offline
Registered User
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks firas

I will try that and let yu know.
 
Old August 23rd, 2006, 07:31 AM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

login servlet code

 
Old August 23rd, 2006, 07:35 AM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i want login oracle databae through send me servlet code

                                                     thanks

 
Old September 14th, 2006, 08:31 AM
Registered User
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mohitsingal
Default

how many ways can i get the context object programically in servlet










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.