Hi everybody,
i want to use the saxparser to read a xml-file via a Fileupload-UI element. In Web Dynpro it is not possible to get the path of a file which was on a client through the Fileupload-UI. So how can i use a xml-parser when i have to give it the file name?
Is it possible to use the "resource" of the Fileupload-UI instead ot the filename? How can i call the parser?
SAXParser saxParser= null;
try{
SAXParserFactory factory = SAXParserFactory.newInstance();
saxParser = factory.newSAXParser();
saxParser.parse( new File(??????), new Gaeb());
}catch (Exception ex){
ex.printStackTrace();
}
regards,
Sid