Fetch session info

Discussion in 'Java' started by teser3@hotmail.com, Jun 24, 2008.

  1. Guest

    For the below bean object in JSP how would I do the same in a Java
    class?

    <jsp:useBean id="age" class="packOne.UserData" scope="session"/>



    Here is my attempt but it didnt work. Please advise because I think I
    need to fetch session info?

    String age = new UserData();
    ....
    out.write(age.getName());
     
    , Jun 24, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vasanth
    Replies:
    0
    Views:
    553
    Vasanth
    Jun 28, 2004
  2. Arno Seitinger

    problems to fetch a session

    Arno Seitinger, Oct 25, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    311
    Arno Seitinger
    Oct 25, 2004
  3. Andrea Williams

    Clear the Render info & change to different info

    Andrea Williams, Oct 27, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,418
    Ken Dopierala Jr.
    Oct 27, 2004
  4. Pitmairen
    Replies:
    4
    Views:
    528
    Bruno Desthuilliers
    Mar 6, 2006
  5. Replies:
    1
    Views:
    398
    Manish Pandit
    Aug 28, 2007
Loading...

Share This Page