Applet & IO
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Romka_Alex
Posted On:   Wednesday, June 11, 2003 09:49 AM

Hello!
i have an applet - simple form, and when user press "OK" button, all information must be written into TXT file on the server. How?

Re: Applet & IO

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, June 11, 2003 12:59 PM

Submit parameters via POST to servlet URL, then servlet gathers them, validates, deals with finding file resource for your txt file either via File or via getClass.getResource, worries about locking the file resource somehow among multiple threads etc., appends to file, closes and unlocks for other threads, etc.

About | Sitemap | Contact