This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line! See this thread for details.
In my JSP page am having two links called "LINK1" and "LINK2".
This is not am asking for, am asking like when am submiting the page am doing some logic where the result of that logic
am transferring to same JSP.
At that time i need DIV2 to be displayed with the results.
May be you will have to include some server side code in this. First time when you load the page neither of your divs are visible. Some flag can be set which is initially false for both the divs. Once you open DIV2 and submit the page pass one request attribute after hitting the DB which jsp can read and display the div.
May be something like: