Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set link in the executable statement

 
kumar tnj
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure I follow what you are asking here. Can you explain a bit more about what the problem is?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kumar tnj
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic