Struts 2 - Java - JSP

For storing user login information in the database, when a user logs in I
need to get the following types of information: Hostname, IP address,
User-Agent, sessionId, etc.
Before using Struts2, I would access the HTTPSession and request object and
use methods such as:
request.getHeader()
request.getHeaderNames()
request.getRemoteAddr()

What is the best practice to access this information using Struts 2 actions?

-- 
View this message in context: 
http://www.nabble.com/Best-way-to-get-request-information-tp16288480p16288480.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to