This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:hidden tag problem

Abdulla Mamuwala
Ranch Hand
Posts: 225
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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%>"/>

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.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic