Training, Open Source
computer languages


PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Reading a text area in a servlet

Posted by enquirer (enquirer), 4 April 2003
I want to collect 400 data items from a text area with the method
        String myData = req.getParameter("textarea");
This gives the error message 'Error: 414 No detailed message' which implies that the request URI is too long.  How do I overcome the problem?

Posted by admin (Graham Ellis), 4 April 2003
Looks to me like you might be using the GET method, which has a 1k limit ... try switching to the POST method where the limit is removed.    Can I also suggest a different name for your textarea - "textarea" will work, no doubt, but it might be confusing to anyone who has to look at your code in the future  



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.


WELL HOUSE CONSULTANTS LTD.: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho