Hi,
I work for a financial organization. All of our applications will
have to go thru a common portal for authentication and authorization.
The problem is that this Portal has a limit of the output to be
written. If we dont SPECIFY the CONTENT LENGTH of our pages and our
pages contain exceed the limit as what was set by the portal then the
exceeding portion of the page would be truncated and would not be
displayed. We are using struts in our application. in out previous
project where we didnt use struts we handled this problem by doing :
Wrote a class which extends JSPWriter.
capturing "OUT" object in JSPs and stored it in a variable. Used
out class object (which I created in the first step) and in the end I
am getting the output string from the class object and setting the
response content length as the length of output string we took from
the class object and then using the variable that we used to store
the OUT object we are printing it. This worked. But now the same
doesnt work in struts environment. I dont know why?
We are using Servlets 2.2 specification thus not being able to use
Servler Filters. All I need is to find the length of the output being
written to response before the response object is sent.
Can anybody give me some inputs?
Thanks
RV
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]