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

Parse HTML inputs

 
Timothy Sam
Ranch Hand
Posts: 751
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys! I was wondering if there's a good way of parsing HTML inputs in input fields. I was thinking of replacing every "<" and ">" with something but then I had to do everything one by one which is very time consuming... Perhaps you could suggest a nice technique or if there's already something that solves this, please tell me. Thank you...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you mean by 'parsing'.

Are you just trying to read the values of hidden form field in a form post?
 
Timothy Sam
Ranch Hand
Posts: 751
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the trouble but... I actually found an answer here...

http://www.coderanch.com/t/348064/Servlets/java/any-function-which-convert-text

just moments after I posted that. Thank you for your reply. If you could provide a better solution then I would be trully greatful... Anyway... Nope, I am not reading values from hidden fields but from a form post. I was just thinking since if I had about 20 forms then I had to parse each one of that using a customized method to parse HTML as the one talked about in the link...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic