I have a requirement where when I click on a link need to to direct to a visualforce tab. So how to get the VF tab url dynamically using apex code. Thanks in adavance.
If a visualforce tab is created for the page "abc" then even "/apex/abc" will take you to the visualforce tab only.
And to highlight particular tab you will use the following code as below
<apex:page controller="abcctrl" tabstyle="tabname__tab" id="ThePage">
The _tab when appended with actual tabname and used in attribute tabstyle of the page the page will be highlighted with visualforce tab