• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Sessions

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How can you track session using Hidden Fields?
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 %>
 
reply
    Bookmark Topic Watch Topic
  • New Topic