| | |
mysql data
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
•
•
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
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 8:04 am.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
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.
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)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
•
•
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.
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 5:12 am.
I don't accept change; I don't deserve to live.
![]() |
Similar Threads
- 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
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web






