Project

General

Profile

Bug #3552

Can't get the input of a WTextArea when the user copy and paste a very long text into it

Added by Anonymous about 8 years ago. Updated almost 8 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Start date:
08/30/2014
Due date:
% Done:

0%

Estimated time:

Description

Look at the sample project I attached.

There is a textarea , a submit button and a echo-back label. The user enters some text into the text area , push the submit button and my application shows the text entered into the label.

If the entered text is short , everything is ok . But , if the user copied and pasted a very long text (for example , the content of one of the "LongText*.txt" files in the source directory ) , then , my application wouldn't get the text in the textarea as expected. In my system , when the text is longer than 85.6KiB , we wouldn't get the content in the textarea.


Files

textAreaLongInput.zip (1.27 MB) textAreaLongInput.zip A sample project,when user copied and pasted a long text into the textarea,we couldn't get that text content Anonymous, 08/30/2014 04:50 PM
#1

Updated by Koen Deforche about 8 years ago

Hey,

There is a default setting () which limits the size of a POST to about 128KB. This is probably what is causing the issue.

See also:

http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#configuration_sec

Regards,

koen

#2

Updated by Koen Deforche about 8 years ago

  • Status changed from New to Resolved
#3

Updated by 太极美术工程狮 狮长 about 8 years ago

I'm the original reporter.

I don't think it is related to the max-request-size setting. Please take a look at the wt_config.xml file in my sample project , the and are both 1280 , which I think is enough for 85.6KiB .

#4

Updated by Wim Dumon about 8 years ago

Hey,

did you verify in your startup messages that you're actually using your modified copy of wt_config.xml?

BR,

Wim.

#5

Updated by Koen Deforche almost 8 years ago

  • Status changed from Resolved to Feedback
  • Assignee set to Wim Dumon
  • Target version set to 3.3.4

Also available in: Atom PDF