Well...considering I have a XML file. This string might be really long. I will have to set the Content-length ot a high number I guess....Am I right? Thanks, Tarun
________________________________ From: [EMAIL PROTECTED] on behalf of Scott Hyndman Sent: Fri 3/24/2006 12:31 PM To: Flashcoders mailing list Subject: RE: [Spam][Flashcoders] Flash and Servlet With LoadVars, you dynamically assign a property So basically, var lv:LoadVars = new LoadVars(); lv.xmlContents = xmlString; lv.sendAndLoad(...); The doPost method will be passed the request containing the "xmlContents" variable. Scott -----Original Message----- From: [EMAIL PROTECTED] on behalf of Tarun Abhichandani Sent: Fri 3/24/2006 3:23 PM To: Flashcoders mailing list Cc: Subject: [Spam][Flashcoders] Flash and Servlet Hi: Really new to Servlet and Flash functionality. So, the doubt may seem basic. Any help would be great. I am trying to call a Java Servlet that supports doPost method. It uploads an XML file on the application server and names that file based on certain details (userid, etc). I can use the servlet using html form. In Flash, I know that we need to use LoadVars. But what function/ method I use for specifying the file that needs to be uploaded before actually doing LoadVars.sendAndLoad? Thanks for considering, Tarun
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

