开发者

JRuby on Rails post data cut short

I creating a site in JRuby on Rails (JRuby 1.3.0 ). I am using Tomcat with it also.

开发者_运维百科

I am posting data to the server with a POST form. The post goes ok but is truncated when it gets to the controller to around 1000 characters.

I have tried using JRuby 1.4RC1 to see the issue disappears but the problem is still present.

I decided to try Ruby on Rails with webrick and the post data is not truncated.

Has anyone used JRuby on Rails and come across this issue at all?

Its a very strange issue hopefully you guys know what I am talking about :-/

Cheers

Eef


Can you make sure you're using the latest version of JRuby-Rack (0.9.5)? We did have a few issues with POST truncation in earlier versions. See JRUBY_RACK-15, JRUBY_RACK-10, JRUBY_RACK-4.


Can you try use FireBug to see if the values are actually being sent to the server?

Also, are you running webrick or mongrel? Are you behind a proxy server?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜