----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Solved.

Stupid me - propably because of a gnujsp installation there was a
servlet-2.0.jar in my classpath, which turned out to be the buggy jsdk
release that has been warned of before on this mailing list. 

I removed it and now everything works fine.


Tilmann Singer wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Hi all,
> 
> I am posting the contents of a html-form to a servlet and read the
> contents with getParameterValues(), but if the number of characters
> posted exceeds a certain limit (somewhere around 1500), some parameters
> are truncated.
> 
> Is there a maximum of characters that can be read from parameters from
> post requests? If so, where is it defined / can it be configured?
> 
> I get all the data when I parse the InputStream from the request
> manually, but I dont want to switch to that, because the design of the
> existing project depends heavily on the getParameterValues() method and
> that would be a lot of work to change.
> 
> When I set the enctype of the form to multipart/form-data then no
> parameters at all will be parsed automatically (i guess this is the
> expected behavior).
> 
> How can I ensure that all posted parameters can be read by
> getParameterValues() ? Do I have to split up my forms and
> constrain the number of characters typed into the textarea fields? If
> yes, what is the limit?
> 
> many thanks in advance, Tilmann Singer
> 
> Configuration is
> jsdk2.0
> blackdown jdk1.1.7v3
> apache 1.3.9
> ApacheJServ-1.1-2 (this is the name of the rpm. I dont know where to
> find the actual JServ version ... I wonder if this is the latest
> release)
> redhat 6.1
> 
> I had the same Results trying with different Browsers (Netscape 4.7 on
> Linux and Mac, IE 4.5 on Mac)
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]

-- 
TilmannSinger|[EMAIL PROTECTED]|ICQ51647972|W4315469127|H4314065236


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to