• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

html:hidden tag problem

 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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%>"/>
</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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic