How to access a bean from a tag library

Discussion in 'Java' started by neoivan, Sep 9, 2003.

  1. neoivan

    neoivan Guest

    1.
    I need to display a big list of results in my JSP in groups of 10 to
    10, or 20 to 20.

    Which is the best way to do it?

    I'm using a tag library, it connects to the database and retrieves all
    data, so how can i store this results in a bean or something else, in
    order for them to become accesible the next time the tag is invoked.
    Could i pass a resultset parameter to a tag?

    Which could be another alternative if tags don't work well for that?

    2.
    How can i use a bean (instantiated in one servlet) in another servlet?

    Thanks
     
    neoivan, Sep 9, 2003
    #1
    1. Advertising

  2. neoivan

    neoivan Guest

    I still need to know how to do this, if anyone can help me please

    (neoivan) wrote in message news:<>...
    > 1.
    > I need to display a big list of results in my JSP in groups of 10 to
    > 10, or 20 to 20.
    >
    > Which is the best way to do it?
    >
    > I'm using a tag library, it connects to the database and retrieves all
    > data, so how can i store this results in a bean or something else, in
    > order for them to become accesible the next time the tag is invoked.
    > Could i pass a resultset parameter to a tag?
    >
    > Which could be another alternative if tags don't work well for that?
    >
    > 2.
    > How can i use a bean (instantiated in one servlet) in another servlet?
    >
    > Thanks
     
    neoivan, Sep 17, 2003
    #2
    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. Benjamin Stewart

    To bean or not to bean...

    Benjamin Stewart, Jun 30, 2003, in forum: Java
    Replies:
    0
    Views:
    808
    Benjamin Stewart
    Jun 30, 2003
  2. David Thielen
    Replies:
    2
    Views:
    800
    Marek Lange
    Sep 12, 2003
  3. Takeshi
    Replies:
    0
    Views:
    514
    Takeshi
    Jan 28, 2004
  4. Thomas P. Fuller
    Replies:
    1
    Views:
    4,544
    bitbucket43
    Aug 17, 2004
  5. shruds
    Replies:
    1
    Views:
    841
    John C. Bollinger
    Jan 27, 2006
Loading...

Share This Page