SoFunction
Updated on 2025-04-07

struts2 session interpretation

HttpSession < session = ().getSession();
Example:

        public String findAll(){
     HttpSession session = ().getSession();
        list = ();
     ("list", list);
        return ;
    }
How to get the properties in session in jsp:
as follows:

         s:iterator value="#"
            s:property value=""
            s:property value=""
            s:property value=""
         s:iterator