session.setattribute in jsp code example Example: session.setAttribute api java long getCreationTime()