Some times client would like to open a new window on the current page itself. In order to achieve this we can use the _self option.
The standard redirect() or resolveUrl() method will redirect to a new page opening the content on the new page. In order to open the new page in the current window itself we can use
window.open(createLinkUrl,"_self")