This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes Hidden Fileds in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Hidden Fileds in JSP

Parashuram Hallur
Ranch Hand

Joined: Sep 18, 2006
Posts: 41
posted September 28, 2006 11:41 PM Profile for Parashuram Hallur Send New Private Message Edit/Delete Post Reply With Quote Hi,

I have hidden field in the JSP page - its a page in the wizard
The wizard has got series of steps 1, 2, 3 , 4...etc
Step 3 and 5 are mostlly similar, pages in the step 3 and 5 share the same base class where the hidden field is getting created.

The problem: by default the value of the gidden field is empty "" and based on the button click in the page the hidden field value is changed. This works well in the page 3, but when I go to the page 5, I expect it to be empty by default, but somehow it is preserving the value which had been assigned in the page 3. Why it is preserving the value in the page 3 although I am creating new instance while loading the page5. Kindly help me to know what could be the reason for this and how to clear it off

Any pointer much appreciated
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14670
    
  11

Please don't crosspost
http://www.coderanch.com/forums/


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Hidden Fileds in JSP
 
Similar Threads
how to avoid hedden field value displaying
Hidden Value in JSP
session issues with Ctrl-N
Getting html form name
Search queries...