Hi!
i want to pass the bean value from one page to another jsp page,so for that i
have done a code like this,But i am getting null value,help me out how to do that,.....
first jsp:
<jsp:useBean id="myBean" class="testBean.BeanClass" scope="session">
<jsp:setProperty name="myBean" property="userData" value="123" />
</jsp:useBean>
<jsp:forward page ="index.jsp" />
then i forward to ths page.....
2nd jsp :
<jsp:useBean id="myBean" class="testBean.BeanClass" scope="session"/>
<jsp:getProperty name="myBean" property="userData"/>
when i am getting ths value comes null.....
did i made any wrong.....how do i do ths,......explain me....