My form does not have a lot of tag processing (acutally none) The time it takes to 
load the page is proportional to the number of instances of form objects appeared on 
the JSP. 

For instance, outputting a radio set is A LOT slower than outputting a drop down list 
since you just have to pass a collection to the "iterate", but you have to actually 
put all the <html:radio/> options on the JSP. 

<html:select property="factors[4].rating">
<html:options collection="ratings" property="value" labelProperty="label"/>
</html:select>

<html:radio ...../>Option A
<html:radio ...../>Option A
<html:radio ...../>Option A
<html:radio ...../>Option A

-----Original Message-----
From: Pete Carapetyan [mailto:[EMAIL PROTECTED]]
Posted At: Wednesday, February 06, 2002 12:10 PM
Posted To: Struts
Conversation: speed of struts
Subject: Re: speed of struts


I have had the same problem on one very large form with lots of back end tag 
processing. Would be interested to know if anyone had performed any profiling on 
similar situations to identify where the bottlenecks were.

Struts wrote:

> I found out that if I include a lot of html form fields in a form (over 50). The jsp 
>pages seems to be awfully slow to load (almost 10 seconds). I made it a little bit 
>faster when I converted all radio button sets to drop down list, still it is very 
>slow. The speed to load up seems to exponentially related to the number of form 
>fields.
>
> Has anybody got the same problem?
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
Pete Carapetyan
http://datafundamentals.com
Java Development Services

Open standards technology for commercial profitability



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to