PDA

View Full Version : In 2.0 this works like a charm!


tspratt
01-12-2004, 09:39 AM
My long QueryStrings were seriously crashing my .JSP pages.

Ver 2.0 (I just downloaded '2.0p') has a method:
LzDataset.setQueryType( reqtype )
I added this line, with reqtype = "POST" just before I called doRequest(), and my data went to the jsp page perfectly. (about 37,000 chars)

Almost: I was "escaping" the data in the setQueryString(), but "POST" does this for me so I was getting double escaped. I took out my escape() and my data looks fine.

It is a little strange feeling to serialize my datapointer into the QueryString when I am going to POST, but I'm already over that!

I am very pleased. I have been putting off my update work, dreading the idea of having to chop it up into 2000 char bites.

Tracy

tspratt
01-12-2004, 09:41 AM
This was supposed to be a response to epopov's post, sorry!
Tracy