struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ying <>
Subject Re: slow request/response may be because of validation/conversion
Date Tue, 11 Oct 2011 05:04:57 GMT
I think conversion and validation should not be turned off.

The [conversion] convert http parameters (which is String) to the real
data type so your action can accept.

The [validation] check the parameters if they a valid.

And also, normally, conversion and validation should not take too much time.

The log you showed to us start at
2011-10-10 10:55:42,187
and finished at
2011-10-10 10:55:42,393

So, it only cost 200 ms.

I think you need printout more debug info, and find out where is the
real bottle neck.

And, as Carl said, the setting of [struts.devMode] can make Struts2 slow.
[it has a significant impact on performance, since the entire
configuration will be reloaded on every request]

Try turn it off and see what happens.

This page may help:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message