Hey:
 
 
I've found a way to solve this problem:
 
-------------------------------
 javax.servlet.http.HttpServletRequest httpRequest =
       ((ServletWebRequest) RequestCycle.get().getRequest()).getHttpServletRequest();
      
       HttpSession sessionStore = httpRequest.getSession();
    
    System.out.print ( "UserID: " + sessionStore.getAttribute("userid"));
    System.out.print ( "sessionid: " + sessionStore.getAttribute("sessionid"));
-----------------------------------------
Is this safe?
 
<P.s> I don't know why my subject "How to get Attribute in HttpSession in wicketApplication" can't be replied by using the button on the
          page http://www.mail-archive.com/[email protected]/msg15266.html, could anyone please tell me did I make
        any mistake? (I send to the email: [email protected]) , thx very much!
 
                                                JFC Hsieh
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to