tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aryeh M. Friedman" <aryeh.fried...@gmail.com>
Subject Re: unified doXXX()
Date Tue, 02 Mar 2010 20:48:36 GMT
Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Aryeh,
>
> On 3/2/2010 2:20 PM, Aryeh M. Friedman wrote:
>   
>> It gets null's on POST's only but only from the new input format (there
>> are parts of the app that still use the old format and they work fine)
>>     
>
> Is this a new client, or just a new data format? Mark's suggestion that
> you may be using POST without the proper Content-Type would result in
> getting null for this parameter (because Tomcat will not parse it for
> you). If this is the case, you should either fix the new client to use
> the proper Content-Type, or fall-back to reading and parsing the request
> body manually when these requirements are not met.
>   

New format same frontend client code which does use the proper content 
type. (the content type is defined at a lower level then the format and 
that code has not changed [using firebug on firefox confirms that fact])

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message