i have 2 vf pages, in 1st vf page there is button with onclick action = open window with provided URL,
<apex:column styleclass="inBorder1">
<apex:facet name="header"></apex:facet>
<apex:outputLink onclick="window.open('http://jforce-developer-edition.ap5.force.com/message2');">
=<apex:image style="height:25%;width:60%" value="!$Resource.apply1}"/>
</apex:outputLink>
</apex:column>
But i want open this new vf page in same window. i.e. instead of opening new window it should open new vf page in same window.
Thanks for your time!