I am doing struts2 web project. During talking about spring, I want to know what is different as below two case??
(1) see below screen, it will set the property of service in struts2 files and also doing code of service in action class. Is it allow me to call services function in struts2 view jsp file??
(2) I can use the service of MVC in the action class by importing the service namespace.
Actually, my previous project is doing primefaces and spring webflow and spring mvc.
It can call controller function or user class and spring webflow action name in primefaces view xhtml file.
Now I am doing struts2 web project. I only know that struts.xml that connect action class and struts2 jsp view.
I have questions on how to use user class in struts2 and maintain the session between several pages.
I want to use similar user class in struts2, like my previous project (JSP and Spring), instead of session or request variable.
Is it possible? If yes, is there any example??
Hey! Wanna see my flashlight? It looks like this tiny ad: