wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Char limit when submitting forms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Char limit when submitting forms" Watch "Char limit when submitting forms" New topic
Author

Char limit when submitting forms

Tylerr Alexanderr
Greenhorn

Joined: Jun 29, 2006
Posts: 2
Hi guys,
I ran into an odd problem I've never seen before. I'm creating a page that will allow employees to input about 2000 characters of information into a textarea within a form. However, when attempting to submit the form, literally nothing happens. If the textarea only contains, say 100 characters, it will submit perfectly fine. However, when it reaches a certain limit, nothing happens.

I was wondering if any of you knew whether or not there is a limit of some sort to the size of the input one is allowed to submit. If so, where would the limit be? Is it the browser? The server it is being submitted to? Also, I'm trying to find a decent work around for this. If you guys have any suggestions I'm all ears.

FYI, I'm submitting the form to a servlet with Tomcat and Apache is my Web Server.

I'd be very greatful of any help you guys could provide.

Thanks,
-Tyler
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Be sure to put method="post" on your form. The default is "get".


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Tylerr Alexanderr
Greenhorn

Joined: Jun 29, 2006
Posts: 2
Beautiful thank you very much.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Char limit when submitting forms
 
Similar Threads
Opening new JSP page with parameters of parent page.
trying to submit form on another site from my JSP
getting null value, from a variable being sent from JavaScript in the page
Problem in submitting parameters characters which contains +,%
textarea length and color