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 Beginning Java and the fly likes how to set link in the executable statement 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 » Beginning Java
Bookmark "how to set link in the executable statement" Watch "how to set link in the executable statement" New topic
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: 24183
    
  34

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?
 
wood burning stoves
 
subject: how to set link in the executable statement
 
Similar Threads
How to set the link the results which are available in the database
Chached Rowset !
How to give the link in the query outputs
how to give the link to the result which are executed by query
dynamically add rows to the exitsting table