Skip to Content
0
Former Member
Apr 29, 2009 at 07:00 AM

Navigation between the JSP Pages.

114 Views

Hi All,

I am new to Portal Development. I would like to navigate between two JSP Pages. But i got an "Portal Runtime Error". I created welcome JSPDynPage (welcome.java & welcome.jsp)for storing the values in the bean class(having proper getter & Setter method). i have written the following code in welcome.java

for Ex : IPortalComponentProfile myProfile = ((IPortalComponentRequest)getRequest()).getComponentContext().getProfile();

nameBean = new nameBean();

nameBean.setName(name);

myProfile.putValue("userNameBean",nameBean);

I am getting the stored values in the User Jsp using the following code

<hbj:useBean id="userNameBean" scope="application" class="nameBean"/>

<hbj:textView id="tv_view" text="<%=userNameBean.getName()%>" design="EMPHASIZED">

But i could not get the Values. Please bring me an solution to this Problem.

Thank you.

Regards,

Malar.