Hi, Actually, I have a filename (.pl or .zip , or .doc) with a hyperlink ( a command button) on the web page..on click of the link, it should call the method on the bean to get the file contents and display the save open dialog box so that the user can view or downlad the file.. if possible I would prefer not to refresh the page..Ajaxit