It shouldn't really matter once your applicationContext*.xml file
follows the correct structure and is loaded up in the correct way i.e.
propbably through your web.xml in this case.
Can you mail me or post your applicationContext files?
Maybe if you post you
Struts2 Fan wrote:
>> > class="org.appfuse.tutorial.webapp.action.PersonAction"
>> scope="prototype">
>>
>>
I added this to the ApplicationContext-struts.xml already but still it gets
null. Do I put it ApplicationContext.xml? I know that we define
Struts2-Actions in the ApplicationContext-struts.xml
Thank
Sorry this is what i meant to type :)
Philip Barlow wrote:
Have you added this to your applictionContext.xml?
class="org.appfuse.tutorial.webapp.action.PersonAction"
scope="prototype">
Struts2 Fan wrote:
Hi All,
I have a problem. I created the PersonAction as shown in the
Have you added this to your applictionContext.xml?
Struts2 Fan wrote:
Hi All,
I have a problem. I created the PersonAction as shown in the tutorials and
in this PersonAction I want to use the userManager which defined in the
BaseAction. And the userManager is null. What am I supp
Hi All,
I have a problem. I created the PersonAction as shown in the tutorials and
in this PersonAction I want to use the userManager which defined in the
BaseAction. And the userManager is null. What am I supposed to define to
make it not null?
userManager.get(User.class,"1"); doesn't work. It