This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes How do i search a particular data  from an HTML Table using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How do i search a particular data  from an HTML Table using java" Watch "How do i search a particular data  from an HTML Table using java" New topic
Author

How do i search a particular data from an HTML Table using java

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

How do i search a particular data from an HTML Table using java.Which predefined package should i be looking for.


http://www.lifesbizzare.blogspot.com || OCJP:81%
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

HTML is essentially string. Read the HTML, store in String and use contains or regex or whatever is required. Is this what you were asking for, or did you mean something else?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
I'd use a library that understands HTML, like HtmlUnit/jWebUnit.
Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

I mean theres a table and to every Column above theres a textbox whatever i type in the textbox only that should be visible in the table and table size should decrease to one row whenver i am searching it
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How do i search a particular data from an HTML Table using java
 
Similar Threads
How to allow sorting of table?
Calling Java Application in Javascript
How to store a table's data from oracle database into an excel file?
How to store an oracle database table's data to an excel file?
How to send html table data to a servlet/bean