This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes html:hidden tag problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:hidden tag problem" Watch "html:hidden tag problem" New topic
Author

html:hidden tag problem

Abdulla Mamuwala
Ranch Hand

Joined: Jan 09, 2004
Posts: 225
I am using a <html:hidden> tag in my jsp view,itis given below,
<b><html:hidden property="clientid" value="<%=client_iden%>"/></b>
the attribute <b>value</b> I obtain by using getParameter. But the property does not get set in the bean unless I use the following code,
<b><html:hidden property="clientid" />
<html:hidden property="clientid" value="<%=client_iden%>"/>
</b>

I just figured out the above code by trial and error. Why is it that I have to use <b><html:hidden property="clientid" /></b> for the setClientid()property to work.


I am confused please help.
 
wood burning stoves
 
subject: html:hidden tag problem
 
Similar Threads
html:hidden
Error: According to TLD, tag html:hidden must be empty, but is not
Javascript Error
how to start an action from a link...
Javascript with Struts submit and iterate tags