Hi Nitin,
Ok, I am not sure in that case, only thing the way we call the url ( that we generated using class) is as follows
<script>
window.open('<%=controller->lv_url %>');
</script>
I am not sure if it helps , but if you want you can try with same way and see.
Thanks,
Poonam