struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samsongbest <>
Subject Re: Using Base Action for application (struts2)
Date Thu, 28 Jun 2012 15:49:44 GMT
Hi Aum,

How about put the init type work in the constructor method of the BaseAction?

Best Regards,
Sam Song
Cognizant Technology Solutions

From: Aum Strut
Date: 2012-06-29 00:05
To: Struts Users Mailing List
Subject: Using Base Action for application (struts2)
Hi All,

I am not sure how to do this, i am planning to create a BaseAction class
and will do some init type work here which should be available to each and
every action without need to call that specific method.

Idea is to create a property which is needed by each and every
Action/Request and i don't want to call that method from each and every

is there a way to achieve this?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message