Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to access a bean from a tag library

Reply
Thread Tools

How to access a bean from a tag library

 
 
neoivan
Guest
Posts: n/a
 
      09-09-2003
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
 
Reply With Quote
 
 
 
 
neoivan
Guest
Posts: n/a
 
      09-17-2003
I still need to know how to do this, if anyone can help me please

(neoivan) wrote in message news:<. com>...
> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
Simple Struts question: how can I add the value of a bean variable to arg0 of the bean:message tag? Thomas P. Fuller Java 1 08-17-2004 01:42 AM
[HELP] Bean Newbie: C++ library to Java bean. How? Takeshi Java 0 01-28-2004 11:36 AM
can a session bean return a local entity bean object? David Thielen Java 2 09-12-2003 07:45 AM
To bean or not to bean... Benjamin Stewart Java 0 06-30-2003 12:34 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57