| Author |
how to set link in the executable statement
|
kumar tnj
Greenhorn
Joined: Dec 19, 2006
Posts: 6
|
|
Dear all , i have successully execute the query & i got the records. How i will give the href link in the output records. The no of records may be change, but each & every records have the links. kindly give the solution. Thanks in advance. kumar
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Not sure I follow what you are asking here. Can you explain a bit more about what the problem is?
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
Hi, Welcome to JavaRanch! We have a strict policy on display names, which must be a real first and last name with a space between. Please go here and fix your display name up, pronto. Thanks, pardner! As to your question: hmmm? Are you asking how to find Strings like "<href='..." inside bigger Strings?
|
[Jess in Action][AskingGoodQuestions]
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
Sounds like you have executed a SQL query and have a ResultSet in hand. Now you need to generate a line or table row or something in HTML for each row in the result set. If that's right, we'll need to know where you are writing code ... in a JSP, in a plain Java object that returns HTML, in a servlet? The techniques to generate HTML might be different in each place.
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
kumar tnj
Greenhorn
Joined: Dec 19, 2006
Posts: 6
|
|
Originally posted by Ernest Friedman-Hill: Hi, Welcome to JavaRanch! We have a strict policy on display names, which must be a real first and last name with a space between. Please go here and fix your display name up, pronto. Thanks, pardner! As to your question: hmmm? Are you asking how to find Strings like "<href='..." inside bigger Strings?
|
 |
 |
|
|
subject: how to set link in the executable statement
|
|
|