File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes String! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic


Sridhar Srinivasan
Ranch Hand

Joined: Nov 07, 2003
Posts: 117
I have a String as follows:
String ss="<p>hh</p> nbsp;<input type=text name=s value=aa>  <p>jj</p><b>kk</b><input type=textarea name=y>";
I need to get the name and type of each of the input tags as follows:
name s type text
name y type textarea
How to get this?Can anybody help please? Thanks.

Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please don't post the same message in more than one forum, especially in forums which are nothing to do with the message (such as JDBC).
This one has been answered in the JSP forum, so I have closed it here.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
wood burning stoves
subject: String!
It's not a secret anymore!