there are various fields in table like name, gender, addr, college name, college url, college addr, project details etc.
Now i want that only few details should be displayed on page like name, addr, gender, city, coll addr. Above the table i have provided a button whose value is MORE DETAILS.
After clicking the button the table should get expanded to show all the details i mean all the fields.
Right now i have created two
jsp pages where 1st JSP page has selected fields and the 2nd JSP page has all the fields which i have achieved through the code shown below
So i want to ask is there any other method through which i can achieve the above functionality by maintaining only one JSP page and not the two JSP page of same contents.