aspose file tools
The moose likes JSF and the fly likes to pass values between jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "to pass values between jsp" Watch "to pass values between jsp" New topic
Author

to pass values between jsp

rosaria italia
Greenhorn

Joined: May 15, 2006
Posts: 28
Hello, How can I pass hidden's value from a jsp page to other?
My code is:
a.jsp
...
<h:form id="insUser">
...
<h:inputHidden id="flag" value="1"></h:inputHidden>
...
</h:form>

b.jsp
<%String flag="";
flag=request.getParameter("flag");
out.print("flag="+flag);
%>

b.jsp shows: flag=null

Could you help me?
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
just out of curiosity, why do u need this hidden variable for? cant u access this variable from ur managed bean?


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: to pass values between jsp
 
Similar Threads
how to get the value which changed by javascript in pagecode?
Passing values to JSp with href
Performance of a JSF page
navigation issue
Error on console RenderResponsePhase execute