I’m converting a Struts1 application to Struts2. As a beginning I only ported a few of the actions to see how they behave in Struts2. One of these actions serves an Ajax request sent by the clients once every second. In the current Struts1 implementation the request takes about 10-15 ms to execute, which I can see with Firebug. The Struts2 version now takes over 250 ms. I added the profiling interceptor to the action and I can see that most of this time is spent in setting up the execution of the action. The time spent in the interceptors is negligible.
Is it expected?
Thanks in advance for any help.
follwing the steps,
And you can find action execution time using timer interceptor so called timer.
And also i tried with JSTL, OGNL tags to compare the performance of jsp page rendering time. In my case OGNL has given best performance.