Re: slow request/response may be because of validation/conversion

2011-10-10 Thread Li Ying
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 ti

Re: slow request/response may be because of validation/conversion

2011-10-10 Thread Carl Ballantyne
It sounds to me like you do not have your logging configured to filter out the stuff from com.opensymphony.xwork2.conversion. It also might depend on what server you are using. I recall having trouble with GlassFish and struts2 in regards to this logging in the past. At the moment I am using Tomcat

Re: slow request/response may be because of validation/conversion

2011-10-10 Thread Łukasz Lenart
It looks like you have enabled DEBUG on everything - Spring, Struts2, Freemarker, etc. Please try to reduce the scope and maybe look into your Spring configuration or so... Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 201

Re: slow request/response may be because of validation/conversion

2011-10-10 Thread Maurizio Cucchiara
You could try to configure your custom interceptor stack starting from basic stack [1] [1] http://struts.apache.org/2.x/docs/interceptors.html#Interceptors-TheDefaultConfiguration Maurizio Cucchiara On 10 October 2011 16:09, Amir Wasim wrote: > Hi, > > > > > > I am using struts2 for a project.

slow request/response may be because of validation/conversion

2011-10-10 Thread Amir Wasim
Hi, I am using struts2 for a project. It works flawlessly but for some resons its slow on actions. Below is the Debug log and I have noticed that there are many messages which are related to conversion and validation. Can someone tell me how I am able to stop them so that I is a little bit fas