Hi
     i have written code like this

response.setContentType("text/xml");

response.setBufferSize(3062);

 PrintWriter stream=response.getWriter();

*try
*

{

File taeDescriptor = *new* File("C:\\descriptor\\aeDescriptor.xml");

File inputDir = *new* File("C:\\input");

String file1 = "output.txt";

String file2 = "package.html";

String pattern = request.getParameter("pattern");

System.*out*.println("pattern is :"+pattern);

String[]patArray = pattern.split(",");

XMLInputSource in = *new* XMLInputSource(taeDescriptor);

ResourceSpecifier specifier =

UIMAFramework.*getXMLParser*().parseResourceSpecifier(in);

 AnalysisEngine ae = UIMAFramework.*produceAnalysisEngine*(specifier);

 ae.setConfigParameterValue("Patterns", patArray);

ae.setConfigParameterValue("Locations",*new* String[]{"xyz"});

ae.reconfigure();



in this context i am getting an erro like

can any one help me here....

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then
click the Refresh <javascript:location.reload()> button, or try again later.

------------------------------

Invalid at the top level of the document. Error processing resource '
http://localhost:8000/Copy%20%20of%20UIMAWeb%20as/serv...

checking the output on the browser
^

Reply via email to