This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I just started my first project on java and there are so many questions i would like to know the answer. However, the main priority is whether it is possible to create a public result set which is shared by all the JSP pages.
dont know what you are going to do. but it sounds like a sin. as you said you are a newbie in java or jsp. you should specify what you really want to do.
Joined: Dec 09, 2004
My apologies for not describing the matter well enough. Here it is with more details.
What i want to establish is: =========================================================================== I have a .java file which establish connection to the database, retrieve data and store them into a Result Set.
Over to the JSP page, I would like to use this Result Set for comparison. Basically i am doing a translation from English to Other language. If there is a text "Password" on the login page, I have to get the text "Password" and look for it in the database, retrieve the translated words and displays it on the page. ===========================================================================
I have tried doing that by opening up the result set each time i need to translate (recalling the function in the .java file). However, the page loads much slower and therefore i would like to try other alternative.