Hi,
if i have 4
jsp pages viz 1.jsp, 2.jsp, 3.jsp & 4.jsp
1.jsp uses form parameter say "one" & after submit calls 2.jsp
2.jsp uses form parameter say "two" & after submit calls 3.jsp
3.jsp uses form parameter say "three" & after submit calls 4.jsp
if i want to refer the all jsp pages parameters in 4.jsp by giving
<%=request.getParameter("one") %>
<%=request.getParameter("two") %>
<%=request.getParameter("three") %>
it shows NULL for all ?
Secondly
if instead of using form submit, i use say <jsp:forward page="<jsp page name>" />
it also shows NULL for all ?
If request object is same in Submit & jsp:forward dispatching, then why it reports NULL.
Also even if i use request.setAttribute("attr","value") in 1.jsp.
in 4.jsp request.getAttribute("attr") show Null ?
i am bit confused with this behavior.
please help me to understand the request dispatching behavior after submit & jsp:forward actions.
Many Thanks
Regards
Vj