|
| hi,
i'm brand new to HATS, being thrown in the fire and under pressure to
troubleshoot a client issue, i thank you in advance for taking your time
to consider my question.
being brand new i'm struggling with the concepts still, however i've
come to a point where i need to know if a certain thing is available.
upon invoking a macro (from a servlet), and processing the stream
received back, as per the following:
url = new URL(myMacroURL);
conn = (HttpURLConnection) url.openConnection();
conn.setRequestProperty("Cookie", cookie);
myResponseClass responseInstance = new myResponseClass();
responseInstance.parse(conn.getInputStream());
and in the case of an error, the input stream i'm getting back contains
the following:
<?xml version="1.0" encoding="UTF-8"?>
<screen>
<SCRIPT>
appletInitialized = false;
function initApplet() { appletInitialized = true; if (typeof
updateStatusWindow != 'undefined') updateStatusWindow();}
</SCRIPT>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
my question, then, is: do i have programmatic access to the point in
HATS that processes the returned stream from the legacy application
(AS400 app), before HATS forms the stream that i listed just above, or
is the input stream returned from 'conn.getInputStream()' my most
'native' available point of processing ?
if the question isn't clear, let me rephrase it and be more specific:
i'm trying to get the same error message back that i am seeing in the
console when running in debug mode, so i'm looking to see if i can
access programatically the point where HATS receives it's message and
outputs it to the console (since what is coming back in the input stream
does not contain the actual error message).
i apologize if my question isn't clear enough or if i'm obviously still
too new to this to formulate a correct one, again though, any insight or
help will be very appreciated, thanks for your time,
dylan
|
|