Hi Hardik, I had exactly the same problem with struts2. I wrote a struts2 webapp that produces a huge amount of output in JSPs. My JSPs took about 10 seconds to produce the content. The bottleneck is OGNL. OGNL has an extremely poor performance. Struts2 is an excellent framework but the struts2 team shouldn't have integrated OGNL. Imho OGNL should be taken out of the struts2 package.
Any way heres what I did. I replaced the struts2 tags with JSTL Core tags: http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html It was a very easy task as the syntax of Core is very similar to struts2 taglib. This made loading my jsps almost 20 times faster!!! I mainly did this replacing in jsps that produce lots of output. I still use struts2 tags in jsps where I process forms and other small jsps. Try it, youll be amazed! Cheers, --- Ognl-Hater :-)) On Sat, Dec 13, 2008 at 6:11 PM, Dave Newton <newton.d...@yahoo.com> wrote: > --- On Sat, 12/13/08, Hardik Shah wrote: >> [...] i dont know how to turn on profiliing [...] > > http://struts.apache.org/2.0.14/docs/profiling.html > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org