Solved

output val from database

Posted on 2004-04-09
6
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 51

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How To Remove a Principal from HttpServletRequest 4 53
Help with LDAp login using jsp 6 118
java beans and EJBs 5 201
main method of string class 3 122
While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
After-hours service is a fact of life for most MSPs. While not the most pleasant aspect of the job, there are ways to make after-hours servicing a more profitable and organized enterprise.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

735 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