Solved

output val from database

Posted on 2004-04-09
6
185 Views
Last Modified: 2010-04-01

Hi, im accessing a variable like this from a mysql db:

string val  = select/rest/of/query

Id just like to know how I can output val in a readible user frienly way.

Any suggestions id really appreciate.

Thanks
0
Comment
Question by:emitlightbulb
  • 2
6 Comments
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 10792234
0
 

Author Comment

by:emitlightbulb
ID: 10793598

That does'nt answer my question, I want to be able to use the variable like id use a html text. Is this possible?
0
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 30 total points
ID: 10795552
<%= any jsp variable%> will out put it to user... it doesn't really matter whats in it....
0
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 10796910
>>Id just like to know how I can output val in a readible user frienly way
Try use Table in HTML, maybe you can do a loop inside the <tr> and <td> tags, in order to create a more user-friendly interface, combine with what kuldeepchaturvedi suggested.

cheers
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
logging jar 1 110
servlet concurrency 13 101
sortaSum challenge java 17 171
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO) 1 16
One of the biggest threats in the cyber realm pertains to advanced persistent threats (APTs). This paper is a compare and contrast of Russian and Chinese APT's.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question