wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Frames or not, your suggestions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Frames or not, your suggestions" Watch "Frames or not, your suggestions" New topic
Author

Frames or not, your suggestions

Antonio Giovanni
Ranch Hand

Joined: Jun 27, 2005
Posts: 85
Hi all,

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 ....


Thanks again

[ December 28, 2005: Message edited by: Antonio Giovanni ]
[ December 28, 2005: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Antonio Giovanni
Ranch Hand

Joined: Jun 27, 2005
Posts: 85
Hi Bear Bibeault,

Thanks a lot; I will look into the other options you suggested

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Frames or not, your suggestions