java.io.IOException: Server returned HTTP response code: 500 for URL
Hi
I have an application running in the server and another application calls that servlet. It runs perfectly fine in my system, but does not in another system. Could any one please let me know why would that strange behaviour happen.
The servlet code is,
PrintWriter out;
res.setContentType("text/html");
out = res.getWriter();
Connection connection = null;
try {
InputStream input = req.getInputStream();
connection = getConnection();
XMLParser.parseXml(connection, new InputSource(input));
connection.commit();
} catch (Exception e) {
Appreciate all your help
Thanks
[661 byte] By [
radsat] at [2007-11-26 12:17:49]

# 1
This is the error I get
2006-12-01 13:46:33,660 ERROR [AWT-EventQueue-0] container.URLPost ( URLPost.java:74)- java.io.IOException: Server returned HTTP response code: 500 for URL: http://url:7001/proj/Submit
java.io.IOException: Server returned HTTP response code: 500 for URL: http://url:7001/proj/Submit
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.comp.proj.application.container.URLPost.doPostData(URLPost.java:59)
at com.comp.proj.application.container.SummaryPanel.processSubmit(SummaryPanel.java:631)
at com.comp.proj.application.container.SummaryPanel.access$400(SummaryPanel.java:58)