Thanks to you guys.
Now I succeed implement session parameters that I expected to appear in Struts2
action by implement with SessionAware.
On 2020/08/27 18:31:20, Lukasz Lenart wrote:
> czw., 27 sie 2020 o 13:17 Natta Wang napisał(a):
> >
> > I start to migrate from Struts 1 to Struts 2 and fo
czw., 27 sie 2020 o 13:17 Natta Wang napisał(a):
>
> I start to migrate from Struts 1 to Struts 2 and found a problem that I want
> to ask for help with the session.
>
> In Struts 1 web.xml, I have a Filter class that maps to servlet and when it
> be called, it will set a parameter with an objec
Hii Natta Wang,
Are you try using session interceptor? In java, the session could access
using ServletActionContext.getRequest().getSession(); it will return
servlet HttpSession and use getAttribute() method to ge your particular
session by given sessionAttribut name.
To access session in jsp, i
I start to migrate from Struts 1 to Struts 2 and found a problem that I want to
ask for help with the session.
In Struts 1 web.xml, I have a Filter class that maps to servlet and when it be
called, it will set a parameter with an object.
All Struts 1 JSP pages can access the session that has th
4 matches
Mail list logo