Importing class (not bean) in jsp page

Discussion in 'JSP' started by tushicomeng, Jul 12, 2011.

  1. tushicomeng

    tushicomeng New Member

    Joined:
    Jul 11, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I am importing a class using the command:
    <%@ page import="user.UserLoggedIn" %>

    I am able to work on the methods but my query is:
    I just want to store these variables throughout the session and then reset them

    In a bean, I can use scope="session"
    Is there any similar way to do it in classes?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice