large String problem
Posted on 2004-08-19
I have a page A which loads users from a db and passes it into another page B as a String separated by ";".
In page B, I use a String Tokenizer to tokenize the string and for every string obtained, I display it along with a chkbox next to it..
The problem is when page B loads with the received String, it hangs. I found out that the problem is with the String length. If I send a shorter String, the page loads fine but the String I am passing has about 10000 characters (540 words separated by ;).
But what I found strange was that, I loaded this entire String into another variable in a test jsp and it worked fine..
How can I resolve this ??