Hi nikunj,

  I think you can use HttpServletRequest (request scope) object in your
utitlity class. HttpServletRequest object is threadlocal object.When
executeAndWait

Interceptor is in progress you can not use session or application context
object but request scope will be always available to you.

Regards,

 

 

  _____  

From: nikunj [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2008 10:38 AM
To: user@struts.apache.org
Subject: [Help] executeAndWait Interceptor prob during migration

 

Dear All,

I am migrating my existing application, I have used HttpServletRequest
object in my Utility class.

We can not use any threadlocal object, where we have used executeAndWait
interceptor. HttpServletRequest is threadlocal soo, I can not able to use
any of methods, and those are having HttpServletRequest.

I don't want to change my Utility class. 

 

Can anybody help me?

 

 

Regards,

 

Nikunj Mulani

Applied Software Pvt. Ltd.

Ahmedabad

91-98249 88262 

 

Reply via email to