Hi,
I'am working on dynamically sized form.
Something like this:
<nested:form action="/NewAuctionSend.do" enctype="multipart/form-data">
<%
String count =
(String)request.getSession().getAttribute("auctionDescriptionsCount");
%>
<nested:iterate property="descNeeds" id="descNeeds" length="<%=count%>">
<nested:textarea property="description" rows="10" cols="70"/>
</nested:iterate>
<html:submit property="action" value="adddesc"/>
<html:file property="logo"/>
<html:submit property="action" value="send"/>
</nested:form>
I've got this scenario:
1.Chose my page with form
2.Click 3 times adddesc submit button (now i got 3 <nested:textarea
property="description" rows="10" cols="70"/> )
3.Chose my page with form again ( with preloader )
I'm useing scope request (only counter is in session scope).
When I do this several time I got java.lang.OutOfMemoryError.
Without enctype="multipart/form-data" there is no error.. but I can't
have html:file of course..
Is it some memory leak in MultiPartRequestWraper?
I don't know how to handle it..
I'm looking for some advice..
Thanks!
Marcin KorszeÅ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]