Hi,
I am uploading an xml to database using a servlet and I use sax parser. The uploading task works fine for first request but for sucessive requests, the servlet hangs. Below is the code and please let me
what is the fault here:
saxParserFactory = SAXParserFactory.newInstance();saxParser = saxParserFactory.newSAXParser();saxHandler = new SAXHandler(newProjectTitle);synchronized (saxHandler){ saxParser.parse(filePathObject, saxHandler);}
Thanks & Regards,
Kumar.