• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Sessions

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you track session using Hidden Fields?
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would recommend you get a servlet book if you do not know this. This is in just every servlet book.
------------------
In Gates we trust. Yeah right....
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hidden form fields are fields added to an HTML form that are not displayed in the client's browser. You can include hidden form fields with HTML like this:
INPUT TYPE=HIDDEN NAME ="ORDERNO" VALUE = "1000"
These fields are sent back to the server when the form that contains them is submitted.
The disadvantage with this type of technique is that it works only for a sequence of dynamically generated forms.
 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even if the FORMs are not generated dynamically, the hidden fields can be:
<INPUT TYPE="HIDDEN" NAME="ORDER_NO" VALUE="<%= myObject.getOrderNumber() %>">
 
Ranch Hand
Posts: 641
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that's easy :--
<input type = "hidden" name="go" value=" what everyou wanna put here">
recieve this in another jsp page by using :--
<%
String get = request.getParameter("go");
%>
<%= get %>
 
pie. tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!