Hi there.
I'm developing a new small project using
struts. I have created a Form hierarchy like this:
ActionForm <- BaseForm <- CathegoriesForm
ActionForm <- BaseForm <- EstimationsForm
BaseForm has a property called "nick". After succeeding at Login with the user "johndoe", the property nick gets this value. Thus, when I get into CathegoriesAction, CathegoriesForm.getNick() gets the value "johndoe", too.
But when I get inside the execute method of EstimationsForm, nick gets a null value. I've declared both Forms in the same way at struts-config.xml, coded them similar... Please take a look at my code:
The struts-config.xml:
I'm forwarding from a
jsp using an <html:link/> tag but the
reference says "URL rewriting will be applied automatically, to maintain session state in the absence of cookies", I can't understand why the attribute is getting null value. Can anybody help me? Thanks in advance