How to increase the size of HTTP Post Request in Websphere
772
The HTTP specification doesn't impose a specific size limit for posts. They will usually be limited by either the web server or the programming technology used to process the form submission.
To change the size of post request you have to follow these steps :
I would recommend to rather change this via the Administrative Console.
In V7 navigate to
Servers -> Server Types -> Web servers -> <servername> -> Plug-in properties -> Request routing
.In V6 you find this at
Servers -> Web Servers -> <servername> -> Plug-in properties -> Plug-in <serverclustername> Properties
.There, change the
Maximum size of request content
parameter toNo Limit
. This sets the PostSizeLimit parameter.The advantage is that this should also persist across a new plug-in generation, and is less error-prone.
Websphere 8 users, follow these steps
<WAS8-profiles-dir>\bin\GenPluginCfg.bat
<WAS8-profiles-dir>\config\cells\plugin-cfg.xml
plugin-cfg.xml
file and change thePostSizeLimit="30000000"
Restart WAS8