Posted on 2011-04-27
I had a textarea field and I stored the value from textarea into string...
i pasted huge data into textarea...
using servlets i stored
String storetxtarea = req.getParameter("textareavariable")
now i had two problems...
1)I heard that get method gets maximum 1k how about huge data should i use Post method
2. suppose i had data less than 1k and stored in string how do i get to the end of the string.
should i use while(storetxtarea.equals("\n");
wat if i post multiple lines of data in text area then the above condition fails..
so anyideas for above 2 problems..