javax.servlet.http.HttpSession; code example Example: session.setAttribute api java long getCreationTime()