Thanks ravindra,

I think it's not just for session and application. You can see in following
link there is statement like "Important:" They just giving example of
session but it is for all available scope.

http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/inter
ceptor/ExecuteAndWaitInterceptor.html

-----Original Message-----
From: ravindra [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2008 11:16 AM
To: 'Struts Users Mailing List'
Subject: RE: [Help] executeAndWait Interceptor prob during migration

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 

 




__________ NOD32 3637 (20081124) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to