•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 427,767 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,704 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1354 | Replies: 6
![]() |
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,467
Reputation:
Rep Power: 11
Solved Threads: 296
•
•
•
•
hi everyone
how to display mysql query results in a html or jsp page. using java script or any other
if u have working code or sample code please send me
please help me . its very urgent
regards
Manjunath
manjunath, first read rules about homeworks
Than, answer the question. Do you know anything about Java and JSP?
Answers:
yes then you need to read about servlets and how to retrive data from database, you may start over here plus there is plenty more just ask, but do not use anything older then 2005 or it will be out of date
no then you better of using other technologies such as PHP, Perl (I think you little familiar with Perl made few psots in that section of forum) or AJAX. Why? It will take you long time to understand how to do it in Java...
My personal opinion, it is bad idea to try get data from database with JavaScript
PS: In the future avoid double posting in other section of the forum. Thank you.
Last edited by peter_budo : Jun 14th, 2007 at 7:04 am.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 199
Ajax won't do anything database related as it's purely a clientside technology...
It will however interface with serverside components in other languages that can do things with databases...
And no, php and Perl are not viable alternatives to Java.
php is terrible, spaghetti code galore.
Perl is write-only code.
Both are a disaster to maintain.
Using something like iBatis or Hibernate (or even plain JDBC) it's quite easy to use databases with Java.
It will however interface with serverside components in other languages that can do things with databases...
And no, php and Perl are not viable alternatives to Java.
php is terrible, spaghetti code galore.
Perl is write-only code.
Both are a disaster to maintain.
Using something like iBatis or Hibernate (or even plain JDBC) it's quite easy to use databases with Java.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
There has been a lot of talk about ROR(Ruby on Rails). It has been said that a Java Web based application which was developed in 4 months, was developed in 4 days using ROR.
If you are yet to start on learning a new server side technology and have a time constraint, trying out ROR wouldn't be a bad idea.
If you are yet to start on learning a new server side technology and have a time constraint, trying out ROR wouldn't be a bad idea.
I don't accept change. I don't deserve to live.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,467
Reputation:
Rep Power: 11
Solved Threads: 296
Sorry jwenting I was not saying that he should use PHP and Perl in relation to Java. What I tried to say is, that if he do not understand Java and there is no long period of time to spare learn it, he will be better of using PHP or Perl to retrive data from DB. They do not requere so much to learn and looks like he has some experience with Perl
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 199
•
•
•
•
There has been a lot of talk about ROR(Ruby on Rails). It has been said that a Java Web based application which was developed in 4 months, was developed in 4 days using ROR.
If you are yet to start on learning a new server side technology and have a time constraint, trying out ROR wouldn't be a bad idea.
The difference of course being that the Java application was well architectured, easy to maintain, and performant while the ROR application was a mess, impossible to maintain, and can't survive under load.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
|>The difference of course being that the Java application was well
|>architectured, easy to maintain, and performant while the ROR
|>application was a mess, impossible to maintain, and can't survive
|>under load.
That I hear from each and every Java programmer. ;-)
But considering that many professional sites have been made using ROR, there is no harm in atleast trying it out, esp if the OP has yet to learn a language.
|>architectured, easy to maintain, and performant while the ROR
|>application was a mess, impossible to maintain, and can't survive
|>under load.
That I hear from each and every Java programmer. ;-)
But considering that many professional sites have been made using ROR, there is no harm in atleast trying it out, esp if the OP has yet to learn a language.
Last edited by ~s.o.s~ : Jun 17th, 2007 at 4:12 am.
I don't accept change. I don't deserve to live.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- mysql and oledb .net problems (MySQL)
- can't binding an autoincrement field of mysql data base from vb.net (VB.NET)
- VB6 + MySQL on web server (Visual Basic 4 / 5 / 6)
- mySQL + visual basic 6 (MySQL)
- mysql_num_rows(): supplied argument is not a valid MySQL result resource in /user/690 (PHP)
- Terrible Error while using MySQL resources (PHP)
Other Threads in the JSP Forum
- Previous Thread: How to pass a server side value to an attribute of a custom jsp tag
- Next Thread: about eclipse. Please help me



Linear Mode