to able to retrieve session object in Action class, there are 2 ways,
1st way is using ServletActionContext.getRequest().getSession()
it will giving u a HttpSession object.
2nd way is, your Action class implements
org.apache.struts2.interceptor.SessionAware. Please refer to JavaDoc.
For your info
or
shoud working
On Sat, Nov 28, 2009 at 4:53 AM, wrote:
> Hi,
>
> Can someone tell me how to make the label use my resource bundle value? I've
> tried this
> theme="xhtml"/>
> and
> theme="xhtml"/>
> both are not working.
>
> But this work:
>
>
> in my resource bundle properties file
> I
during redeploy, do you clean up compiled folder(classes folder)? I
believe the SubmitUserAction-validation.xml still there.
On Wed, Nov 25, 2009 at 2:22 AM, james billa wrote:
> I have a JSP page with two fields user name, college name and a submit
> button. I have a xml validation file SubmitU
er is not solve the validation
problem. The xml validator unable to 'detect' sUsername as request
parameter.
It work well on struts2.1.6 too.
On Fri, Oct 30, 2009 at 3:40 PM, Lukasz Lenart
wrote:
> 2009/10/30 KamHon Eng :
>> private String sUsername;
>> public Strin
Hi,
I just try to upgrade my project from struts 2.1.6 to struts 2.1.8, I
found that some property is not working.
For example, property username in Login.class working while sUsername
is not working.
Lets do a simple test on struts2 blank project in struts2.1.8.zip
1. unzip struts2-blank-2.1.8.wa
5 matches
Mail list logo