I'm using a HttpSession session variable to store error/succes messages for various actions that my servlets are doing and I display those messages in jsp's when it requires.
But is it ok to create a new HttpSession object in each of the methods I use? Or should I create just a static one and hold there all my attributes? Thank you.