This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes Hidden fields and struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Hidden fields and struts" Watch "Hidden fields and struts" New topic

Hidden fields and struts

Struts Mariner

Joined: Mar 11, 2003
Posts: 1
I would like to know how I can iterate through a set of values in a jsp and when I encounter a specific value in the set, I want to set a hidden field in the jsp to not the specific value found but to a value associated with this specific value.
I've looked at examples on the internet but can't seem to get them to work for me and I'm running out of time.
Any help will be most appreciated.
Roger Graff
Ranch Hand

Joined: May 29, 2001
Posts: 112
This isn't struts specific, but maybe it will suit your needs.
I agree. Here's the link:
subject: Hidden fields and struts
Similar Threads
JSP Help-simple question
submitting the invoice twice when submitt button is clicked
Help with hidden field
jsp and javascript
How to get the hidden field from JSP