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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Char limit when submitting forms" Watch "Char limit when submitting forms" New topic

Char limit when submitting forms

Tylerr Alexanderr

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.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63854

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

[Asking smart questions] [About Bear] [Books by Bear]
Tylerr Alexanderr

Joined: Jun 29, 2006
Posts: 2
Beautiful thank you very much.
I agree. Here's the link:
subject: Char limit when submitting forms
It's not a secret anymore!