This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
well in my present application, in one of the JSP pages, i do some Search (done by servlet, beans,..) and show the results 10 at a time using pagination.. (the result-set is Employee data)
Now the next part is, when a particular employee is selected from result-set, all his data is then shown below,.. the user can click any person's name from employees result-set..
Presently i am using frames to display the employee data, when his name is clicked from the result,...so that the user still has the result set on screen (in a different frame) and can continue looking at different employee(s) data, without refreshing the result set JSP page .., containing the search result
What do you people think about this?? IS using frames the better solution in this case or is there any other better solution??? Please share your thoughts about this..
Appreciate your help on this..
PS: a pop-up window with employee data is another thought in my mind, without refreshing the search result page ....
[ December 28, 2005: Message edited by: Antonio Giovanni ] [ December 28, 2005: Message edited by: Bear Bibeault ]
Framesets are a pain in the butt that you'd probably want to avoid.
Some alternatives would be to: use an iframe (similar to framesets, but less problematic) or: use Ajax so you can include the results in the same page. Of course, you could always fall back to simply refreshing the entire page.