D
DiscoStu
Hello Everyone,
I'm having a hard time finding a clear answer to my problem. I
have two tomcat servers talking to each other passing reports back and
forth. I want to set it up so that one client servlet POST's its
report data in a URL call to the server servlet, example:
http://localhost/App/ReportRecievingServlet?<ReportDataHere>
Its just an XML file so there is no binary to worry about, whats the
max size I can really get away with using this method of transfer...
the reports might run 40-50-60K maybe. I'm not sure the best way to
get the report off the client machine and onto the server machine. I
would normally just have the server make an HTTP-GET request to the
client, but I want the communications to be one-way-only. I only want
clients connecting to the server, never the server making requests on
the client.
Is there a way to programatically upload these XML files as part of a
mime-attachment to the POST the client makes to the server? Would just
attaching the XML text after the "?" in the URL be the easiest way to
do it?
Thanks everyone
I'm having a hard time finding a clear answer to my problem. I
have two tomcat servers talking to each other passing reports back and
forth. I want to set it up so that one client servlet POST's its
report data in a URL call to the server servlet, example:
http://localhost/App/ReportRecievingServlet?<ReportDataHere>
Its just an XML file so there is no binary to worry about, whats the
max size I can really get away with using this method of transfer...
the reports might run 40-50-60K maybe. I'm not sure the best way to
get the report off the client machine and onto the server machine. I
would normally just have the server make an HTTP-GET request to the
client, but I want the communications to be one-way-only. I only want
clients connecting to the server, never the server making requests on
the client.
Is there a way to programatically upload these XML files as part of a
mime-attachment to the POST the client makes to the server? Would just
attaching the XML text after the "?" in the URL be the easiest way to
do it?
Thanks everyone