Hi
I have an application running in the server and another application calls that servlet. And both the applications are in different servers. It runs perfectly fine from my system, but when I login into another system and try running the application, it does not work. Could any one please let me know why would that strange behaviour happen.
The servlet code is,
PrintWriter out;
res.setContentType("text/h
tml");
out = res.getWriter();
Connection connection = null;
try {
InputStream input = req.getInputStream();
connection = getConnection();
XMLParser.parseXml(connect
ion, new InputSource(input));
connection.commit();
} catch (Exception e) {
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/Submitjava.io.IOException: Server returned HTTP response code: 500 for URL:
http://url:7001/proj/Submitat sun.net.
www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.comp.proj.application.
container.
URLPost.do
PostData(U
RLPost.jav
a:59)
at com.comp.proj.application.
container.
SummaryPan
el.process
Submit(Sum
maryPanel.
java:631)
at com.comp.proj.application.
container.
SummaryPan
el.access$
400(Summar
yPanel.jav
a:58)
Appreciate all your help
Thanks
Start Free Trial