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 JDBC and the fly likes String! 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 » Databases » JDBC
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
Consider Paul's rocket mass heater.
subject: String!
Similar Threads
Combobox-java servlet
Creating-deleting rows in HTML(URGENT)
servlet problem
Need Help With Dynamic text box in JSP