Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / October 2005

Tip: Looking for answers? Try searching our database.

QueryDataSet in servlet

Thread view: 
Mika Myllyvirta - 11 Oct 2005 14:18 GMT
Hi,

Here is what I am trying to do:

In servlet:
1. Get queries from an applet.
2. Do the queries against SQL Server and return a QueryDataSet to the
Applet.

In Applet:
1. Request a QueryDataSet.
2. Display QueryDataSet in a JdbTable. (Only show rows, no updates)

I got everything to work with a direct socket connection, but using the
servlet is giving me a trouble. Also I could return the data with
String[][], but it might be a little harder.. :)

If anybody knew of a good tutorial about the subject I would be pleased
to hear about it!

Best Regards,
Mika Myllyvirta
Mika Myllyvirta - 13 Oct 2005 07:51 GMT
After a while (two days) of searching and searching docs and the web, I
found a solution that worked..

In servlet:
Execute QueryDataSet and load it into DataSetData and send it to applet.

In Applet:
Get the DataSetData object and load it into TableDataSet and show it in
a jdbTable.

> Hi,
>
[quoted text clipped - 18 lines]
> Best Regards,
> Mika Myllyvirta


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.