from applet I am sending data to asp script by post request. This works fine till the number of characters in data written is less then 138000 but when it increases this limit then applet give 500 error. My code snippet is as below
URL url=new URL(baseUrl);
OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
And exception given by java is as below
java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:96/makeCSV.asp
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
Please tell me how can I send large amount of data by post request from java applet.
This isn't a client side problem. You'll most likely have to change your server configuration.