Skip to Content
0
Former Member
Dec 07, 2006 at 08:42 AM

redirect to jsp which is in another component?

44 Views

Hi,

Is there any way to redirect the control to the JSP which is in another component.

here is the explanation ..

I have some logic to check whether the user has accepted terms and conditions before logging into portal.

so i made changes to com.sap.portal.navigation.masthead.par and included my checking code in the headerIView.java to redirect them to the JSP page which was added to the logon.par.

If i know the user hasn't accepted then i should redirect him from the current component i.e masthear.par to another JSP which is in logon.par.

My question is can we generate URL for JSP pages rather than component? if yes, can any expert provide code how can i achieve it ...

Thanks in advance...

MMK