Can servlet talk to a GUI?
Hi everybody,
I am still new to java programming and I have a problem with a task and don't find any documentation on this specific subject. I have to write a program which is retrieving information from a database and displays this information in a browser. The user shall be able to modify this information or enter new information from the browser and store it back in the database . My idea is to use a servlet to do the logic in the program (like the jdbc part) and to use an applet with a GUI (e.g. AWT) to display the information retrieved from a DBMS by the servlet. By using a GUI with textfields, for example, it would be possible to modify the contents or enter new data.
My question:
Is it possible that a servlet can "talk" to a GUI in an applet running in a remote browser so that this GUI can display the information? I don't know how to transfer the information gathered by the servlet to the GUI in the applet.
If you can help me or if you know where to find information about this topic please let me know!
Thanks a lot.
A servelt can communicate with an applet through Streams.
First you need to open a http connection to the servlet (from the applet) and then you open the Object Streams:
HttpURLConnection con = (HttpURLConnection)servlet.openConnection();
ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream());By the side of the servlet you can open the streams with the methods from the HttpServletRequest object: getInputStream() and getOutputStream().
Similar Messages
-
Hi, My face time is not working properly in my computer and mi iPhone, some of the people that i used to contact a can't talk to anymore, and some i can. Its not working in my mac nor in my iPhone, it just shows legend that says face time error, what can i do???
Assign an email address (gmail.com?)
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
How can I talk with more then one person at a time?
How can I talk with more then one person at a time? With Faxe time? Is thier software needed to do this or can it be done with the basic package?
You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker -
How can I talk to a live agent
HOw. Can I talk to a live agent. Need to cancel orders placed by mistake
Although there is a telephone number, Apple really doesn't pulbicize it (but if you search the forums here there is somebody who posts it) and wants all interface to go through online contact.
Contact iTunes Store support staff through the report a problem links in your account history or,
iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html - Apple states all sales are final, but you can always try. -
How can i talk to a itunes customer service representative
how can i talk to a customer service representative for itunes
Yes, why would Apple Inc. want to oh, I don't know...spend some of their BILLIONS in profits in half-way decent customer service/tech support for its signature method of delivering content (which is what all of these gadgets do at the end of the day...deliver content). You'd think they could set-up Live Chat to help with iTunes. Nope, they rather spend the money on Live Chat to SELL you more of their wonky hardware. Shame on Apple Inc.
-
How can I talk to a person about my bill
How can I talk to a person about my bill?
gamon182,
We can help! The number for our Customer Support team is 1-800-922-0204. We can always help with general billing questions via our support forums here. Let us know if you need anything.
TrevorC_VZW
Follow us on Twitter @VZWSupport -
When someone rings me and I don't want to talk to them I cancel the call. With the new iOS 6 update my phone now automatically sends the caller a text that says "Can't talk right now...I'll call you later."
How do I turn this feature off?? I don't want it!!
Please help I've looked everywhere in my settings.Could you be a bit more specific?? Which settings?? "about 7 items down" doesn't really tell me much. What is the path?? I.e settings>messages>etc,etc. as I said above I have checked all the settings.
-
When someone rings me and I don't want to talk to them I cancel the call. With the new iOS 6 update my phone now automatically sends the caller a text that says "Can't talk right now...I'll call you later."
How do I turn this feature off?? I don't want it!!
Please help I've looked everywhere in my settings.Could you be a bit more specific?? Which settings?? "about 7 items down" doesn't really tell me much. What is the path?? I.e settings>messages>etc,etc. as I said above I have checked all the settings.
-
Can we talk in group on face time
Can we talk in groups on face time
Not unless you're all in the same room. Facetime doesn't support conference - as in multipoint - calling. It's a 'person to person' program. THe only way you can do group calling is for one group to be on the A end, one group to be on the B end.
-
I have FaceTime, my mother has ichat, can we talk?
I have FaceTime, can I talk to someone who just has iChat?
Is iChat able to work with contacts using Facetime?
See the answer in context -
Can google talk be used with iPad3?
Can google talk be used with iPad3?
Have you tried iTunes > iTunes Store > google talk ?
If it's not compatible with the iPad 3 then it simply won't download. -
How can i talk or chat with a person/
How can I talk or chat with a person?
Click on "Still need help...?" in blue at the bottom and choose chat:
Contact Customer Care -
I followed all instructions, help topics, etc., and flashplayer still does not function. (IE 10). Who can I talk to for help?
Check
http://forums.adobe.com/thread/885448
http://forums.adobe.com/thread/867968 -
Can I talk to a live tech person?
Can I talk to a live tech person?
Greetings, and welcome to the BlackBerry.com Support Forums.
Your carrier/mobile provider *should* transfer you to BlackBerry level tech support if they can't help you.
Who is your carrier?
Also, where did you buy the device... brand new from a retail mobile provider, or used?
Also, getting assistance here is helpful if you would state the model device you have.
But for the problem at hand: You must enter the correct password to unlock the device. That is set at Options > Security > General Settings (or Options > Security > Password, according to the model device and OS release, but you didn't tell us that).
So, after a normal ten attempts, the device WILL wipe itself of all personal data, contacts, calendar, preferences, etc. That's the way it works. You either know your password or you don't.
Have you NEVER had to provide a password to access the BlackBerry in the past?
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
HT204380 Can I talk to 2 person at the same time on FaceTime ?
Can I talk to 2 person at the same time on Face time?
If the two people are together in front of the same computer/device at the same time, then yes.
Otherwise, no.
Maybe you are looking for
-
How Can Customer Service Go From Great to Poor Like This?
Not sure of the correct sub-forum to post this in so I decided to post my experience here. I purchased a 55 inch Vizio TV off of BestBuy.com after my old TV blew a fuse and died back on January 11th and it scheduled for delivery on the 17th. Mainly b
-
My computer crashed, so I had everything wiped out and I re-downloaded iTunes. Now I am trying to put my songs back by syncing everything I have on my iPad. It says I am already using or synced to a different iTunes library, so it won't let me sync
-
JMS Listner: Test Configuration Successful but not listening the messages
Hi, I have configured the JMS Listner adapter in IDM 7.0 with Sun MQ 3.5. My test configuration is susscessful. I have some messages on Sun MQ. I have one wotkflow associated with this adapter. I have mapped it via process rule of Edit Sync Policy. N
-
Imovie 11 hangs on start up - /Users
iMovie 11, Mountain Lion 10.8.1 on iMac Intel i7 8Gb RAM. Project and Events on 2Tb USB3.0 disk independent of MichintoshHD. Hanging on start up. Does not start to load the Project or Event Libraries. I have read various threads after Googling the is
-
Where can I download the latest video driver for macbook pro 13''?
I have this game that I want to play but it won't start cos it says that I need the latest video driver. Btw, im using windows 7 64bit to run this game. Thank you.