redirect to another portlet

Hi guys,
how can i redirect to another portlet ?

i have to check parameter when portlet load and if this parameter not exist i need to redirect to another page?

i tried beforeRender but it didn’t work? any help please…

After checking parameter you can use…
MainPageDefaultviewView().gotoPage("/MainPage/default.view",true);
to redirect default view on MainPage portlet.

Thanks
Baharul Islam