There is a hidden value,named flag in a JSP page,like following:
<%
 String abc;
 //My question is whether there is a method to get hidden value of flag and assign to 
variable abc?
 //print the value of variable abc
 System.out.println("hidden flag="+abc);
 if(abc.compareTo("0")==0)
  //do something
 else
  //do otherthing
%>
<html>
<body>
<input type="hidden" name="flag" value="0">
</body>

Thanks in advance!
Edward

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to