I hope I understood your problem correctly. Let me paraphrase it :- You have some JSPs already created. Every JSP talk to some tables and display the info to the user. There are some JSPs which talk to a table more than once and hits the database that much time. You want to avoid this more than once hitting for same table in a JSP. You have one controller(Servlet) which just calls the next JSP and doesn't pass any parameter to the called JSP like tablename, etc.
My solution to the above problem if it is correct:- In the custom tag which reads the data from a table, you create a bean structure and then store the bean into request as a attribute using the PageContext class. This way the bean will be available till the request last and then you can extract the bean values in JSP second time where you need the data from the same table. I hope it will help you. Thanks & Regards Bhushan Bhangale Infosys Technologies Ltd. Pune - 411042 Tel : (Office) +91 (20) 2932800 Ext - 1176 Mobile : +91 9822454603 E-mail : [EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
