Re: Re: Using Base Action for application (struts2)

2012-06-28 Thread Aum Strut
Users Mailing List; samsongbest > Subject: Re: Re: Using Base Action for application (struts2) > Hi, > > What you want to do here, explain to us if so we can provide better > solutions how it should be done in struts2 style. > > Java Rocks. > > > On Thu, Jun 28, 201

Re: Re: Using Base Action for application (struts2)

2012-06-28 Thread samsongbest
Hi, Maybe my understanding is wrong. Please go ahead. Best Regards, Sam Song Cognizant Technology Solutions From: vEnkaTa mohAna rAo SriperumbUdUru Date: 2012-06-29 01:21 To: Struts Users Mailing List; samsongbest Subject: Re: Re: Using Base Action for application (struts2) Hi, What you

Re: Re: Using Base Action for application (struts2)

2012-06-28 Thread vEnkaTa mohAna rAo SriperumbUdUru
Hi, What you want to do here, explain to us if so we can provide better solutions how it should be done in struts2 style. Java Rocks. On Thu, Jun 28, 2012 at 9:44 PM, samsongbest wrote: > Hi Aum, > > Let me give you some simple code. > > public Class BaseAction{ > > //constructor method > publ

Re: Re: Using Base Action for application (struts2)

2012-06-28 Thread samsongbest
Hi Aum, Let me give you some simple code. public Class BaseAction{ //constructor method public BaseAction() { property = ...; } String property; //get //set } I think any other action extends BaseAction can use "property" directly without calling any other method. Is that what you want?