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
action.

is there a way to achieve this?

Reply via email to