In action class what i'm doing just taking a pdf file from it's location. when i'm clicking the link "invoiceNo" it will goes to "/openDownloadPdfFile" location correctly but the problem is that the pdf file is opening only in a child window but not in the page where we are mentioning the "/openDownloadPdfFile"