You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/05/12 03:50:46 UTC
DO NOT REPLY [Bug 19835] New: -
Bugs with MultipartIterator.java
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19835
Bugs with MultipartIterator.java
Summary: Bugs with MultipartIterator.java
Product: Struts
Version: Nightly Build
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: File Upload
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: lifangning@huawei.com
File: org.apache.struts.upload.MultipartIterator.java
Line: 254
//just stop now if the content length is bigger than the maximum allowed size
if (this.contentLength > this.maxSize)
should be:
if (-1 != this.maxSize && this.contentLength > this.maxSize)
Otherwise, can not set the file size to "no limit"
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org
logic:iterate and html:checkbox
Posted by Nguyen Tuan Khang <kh...@sat.com.vn>.
Hi all
could you help me the following question:
I have a UserForm that uses Struts Form with following paramters
int id;
String username;
String password;
//setter and getter methods
how to set the value for my checkbox in the following contents for my
listing jsp file?
<logic:iterate name="UserList" id="User">
<tr class="list1-odd">
<td align="center" width="1" valign="top" nowrap="nowrap">
<html:checkbox name="User" property="id"
value="??????????how-to-do-here???????????????"/>
</td>
<td valign="top" nowrap="nowrap"><bean:write property="username"
name="User"/></td>
<td valign="top" nowrap="nowrap"><bean:write property="fullname"
name="User"/></td>
</tr>
</logic:iterate>
thank you
regards
Khang
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org