I was wondering if someone could tell me how to upload a XML file using Java. I have a JSP page and am trying to parse it so the text-boxes on the JSP page can be loaded correctly. This is pretty much an import feature. I know how to generally parse a XML file, but I'm not sure how to go about uploading it so I can parse it. Thanks!
-
possible duplicate of JSP post XML data to serverBalusC– BalusC2011-04-11 16:41:47 +00:00Commented Apr 11, 2011 at 16:41
-
@balusc - looked like a nice answer you gave on other question, so +1 therekdgregory– kdgregory2011-04-11 17:32:42 +00:00Commented Apr 11, 2011 at 17:32
Add a comment
|
1 Answer
Apache commons fileupload is a component you can integrate to get the file uploaded. Then, as you say, you know what to do.