| |||||||||||
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 methodString 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.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |