• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to read the value of a nested tag  RSS feed

 
Roshan Khandelwal
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say like i have one textbox name="textbox1" and inside it i have another textbox... name="textbox2".. How can i read the value of the textbox2 in my servlet..?
 
Albareto McKenzie
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, use real code, what do you really have?

What kind of tag? is a SimpleTag, a BodyTag, a .tag?

In any case you have to evaluate the body, depends on what you are using you will do it in one way or another.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If by "textbox" you mean an <input> element of type "text", then it is not valid HTML to nest them.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!