File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read the value of a nested tag

 
Roshan Khandelwal
Ranch Hand
Posts: 35
  • 0
  • 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: 299
  • 0
  • 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
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic