org.xml.sax.SAXParseException: Content is not allowed in prolog.
807603Sep 29 2006 — edited Jan 26 2008Iam having a perl file.on executing iam passing following variables to a java file:
my $uploadFileName='./PALM#862.SQL';
my $uploadPomName='./pdnUploadXmlPomSpec.pom.xml';
my $userName='chris@infoapps.com';
my $password='pip!admin';
on the java file iam calling a method to parse tthe above XML file iam getting an exception org.xml.sax.SAXParseException: Content is not allowed in prolog.
The xml file contains the details of the file to be uploaded.
This functionality is working when i pass those variables through a JSP/HTML file.
Please advise