in struts this is accomplished implementing
org.apache.struts2.interceptor.createSessionInterceptor
configured in interceptor-ref name in struts-config.xml
action name="someAction" class="com.examples.SomeAction"
* interceptor-ref name="createSession"/
afterwards you can access the
Buenas Noches
your implementation of AbstractBeanProvider needs to supply
struts-messages_es.properties
in WEB-INF/classes/org/apache/struts2 folder
if you have no impl of AbstractBeanProvider use
org.apache.struts2.config.DefaultBeanSelectionProvider
public void register(ContainerBuilder
It's still accessible:
public void sessionCreated(HttpSessionEvent hse) {
final HttpSession session = hse.getSession();
logger.debug("session created");
session.setAttribute(KEY, new Clickstream());
}
public void sessionDestroyed(HttpSessionEvent hse) {
Hello Yasser,
You can write your own listener by implementing HttpSessionListener
and call shutdown in it's `sessionDestroyed` method. Please see [1].
[1] http://www.myjavarecipes.com/tag/session-timeout-handling-in-java/
In HttpSessionListener, it seems that there are no session attributes
Firstly you should decide what do you like about life-time of that
thread pool without being worry about calling shutdown. All your
examples have solutions to call shutdown which I described below...
Please read below
[Try1] . By springframe work setup ThreadPool . In action class,
use
I have this:
It doesn't seem to like lang=es
Help?
CONFIDENTIALITY NOTICE: This communication with its contents may contain
confidential and/or legally privileged information. It is solely for the use of
the intended recipient(s). Unauthorized interception, review, use or disclosure
is
On 2/8/2018 8:51 PM, Emi wrote:
>> Firstly you should decide what do you like about life-time of that
>> thread pool without being worry about calling shutdown. All your
>> examples have solutions to call shutdown which I described below...
>> Please read below
>>> [Try1] . By springframe
7 matches
Mail list logo