wood burning stoves 2.0*
The moose likes Servlets and the fly likes jsp 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 » Servlets
Bookmark "jsp" Watch "jsp" New topic


suresh kamsa
Ranch Hand

Joined: Jul 30, 2001
Posts: 149
I am retrieving EMAIL column data from oracle table.
contents are xyz@hotmail.com. when I am displaying on the browser I want to make HREF, when I clikc on that it should display mail screen.
I am retrivening data like this
<TR><TD><%= rs.getString("FULL_NAME") %>
</TD><TD><%= rs.getString("TITLE") %>
</TD><TD><%= rs.getString("LOCATION") %>
</TD><TD><%= rs.getString("VNET") %>
</TD><TD><%= rs.getString("EMAIL") %>
</TD><TD><%= rs.getString("PAGER_PIN") %>
Pl help anyone
Yogen Vadnere
Ranch Hand

Joined: Sep 20, 2001
Posts: 58
well try following...
<a href="mailto:<%= rs.getString("EMAIL")"><%= rs.getString("EMAIL")</a>

Yogen Vadnere
Don't get me started about those stupid light bulbs.
subject: jsp
Similar Threads
JSP returning old data, database was changed correctly!
error showing while retrieving the data from drop down list
alternate table row bgcolor using if/else
javax. servlet. Servlet Exception: java. sql. SQLException
Error with jsp and JavaBeans