Hi
Is there any configuration for defining "Max Upload Size"?
In PHP there are following two configurations
upload_max_filesize = 10M
post_max_size = 10M
Do we have the same properties in glassfish?
I only found one property "Max Post Size" which I am unable to test. I mean I
changed its value to 1 KB and still I can upload 5MB & bigger files and also
I can submit the post data greater than 1 KB using following form. I pasted
4-5 KB of data in textare and submitted the form.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>File Upload</title>
</head>
<body>
<br/>
<form method="post" action="uploadFilesAction">
<br/>
<textarea name="postData"></textarea>
<br/>
<input type="submit" value="Uplode File" />
</form>
</body>
</html>
Thanks
Krishan Babbar
--
[Message sent by forum member 'babbarkrishan']
View Post: http://forums.java.net/node/788287