-
Posts
89 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by eguru
-
-
Dear Friends I have a unique problem in java, when i try to connect to mysql db.It shows an error message:
I am using mysql MySQL 4.1.9 and tomcat 5.5 version.though i have loaded the driver in lib directory, it still displays the same errormessgae. Here is the jsp file which i use to connect to my database.http://localhost:8080/mysqljdbc.jspUnable to load driver. Getting Connection ... SQLException: No suitable driver
Now is there anything i have to configure apart from this.Thanx in advance.<%@ page import="java.net.*" %><%@ page import="java.util.*" %><%@ page import="java.io.*" %><%@ page import="java.sql.*" %><% try{ Class.forName("com.mysql.jdbc.Driver").newInstance(); } catch (Exception E) { out.println("Unable to load driver."); E.printStackTrace(); } try{ out.println("Getting Connection ..."); Connection C = DriverManager.getConnection("jdbc:mysql://localhost:3306/vinoth"); out.println("<br>Connected: " + !C.isClosed() + "<br>\n"); out.println("Catalog: " + C.getCatalog() + "<br>\n"); Statement S = C.createStatement(); ResultSet rs = S.executeQuery("SELECT * FROM foo"); ResultSetMetaData rsStruc = rs.getMetaData(); out.println("Table: " + rsStruc.getTableName(1) + "<br>"); out.println("<table bgcolor=c8c8c8 cellpadding=5 cellspacing=1>"); out.println("<tr bgcolor=000000>"); int colCount = rsStruc.getColumnCount(); String colName = ""; for(int i=1;i <= colCount; i++){ colName = rsStruc.getColumnName(i) ; out.println("<td><B><font color=white>" + colName + "</font></b></td>\n"); } out.println("</tr>"); while (rs.next()) { out.println("<tr bgcolor=ffffff>"); for(int i=1;i <= colCount; i++){ colName = rsStruc.getColumnName(i) ; String fld = rs.getString(colName); out.println("<td>" + fld + "</td>"); } out.println("</tr>"); } out.println("</table>"); rs.close(); C.close(); } catch (Exception E) { out.println("SQLException: " + E.getMessage()); } %> -
the best one around here is joomla.org, it is a great
-
since the forum loads from invisionize server, it does not matter coz the bandwidth is managed by them, but if it loads from w3schools it would eat enough, and also makes the forum pages to load slow if a user wants to read a thread at slower connection.donot use gif at all in your signature.
-
yes that can be done easily with PHP and MYSQL, but check in case of spidering technology now adopted by Search engines.
-
i am big fan of microsoft coz they made the world what is today, but i am a fan of opensource community and work for opensource scripts and products and use linux on my pc.although at some point it makes me to stick at microsoft.
-
not really, it has not. it is still in the market and would still be the no1.
-
great you guys at 12 and 14 learn these things and people right here in india and too in dept of computer science at age 22 and above are not that much good in any language and even some donot know the basis.
-
building a searchengine like google or others is not possible through PHP and MYSQL, you need to go for .net or java with oracle as backend.
-
yes Microsoft is releasing in the market, but has some more features compared to ipod.
-
nope, it is standard of your economy which makes your price higher there and lower here.our economy is low when compared to US and UK.
-
check the connection to your database, username and password
-
imaho good link, learnt something new today.Thanx
-
Ok ok guys, it matters on how a person feels to learn, some might see ebook as useful and some books, and i come in second category.
-
buying the books saves you lot of time in taking the printouts, 1. you waste your ink + power ( which can be used by govt for some other purpose ) + TIME ( the most important ) for a sum of money which u save.
-
well i am not an supporter of google, but ypn is good enough but accepts only us people and other programs in the net approve on traffic and status of your site.Our website was accepted since it had huge traffic of about 5000 / per day by many publishers, but we did not prefer as most of them were scams.
-
well there are resouces, but my best bet is books which are more user friendly in learning than ebooks which makes your eyes still worse in nature.
-
-
Indeed, but our points are well interesting for users to read and the facts on both of the sides, surely you must be on our side. ( SH )That may be so, but it wouldn't hurt them to keep their products up to date. :)Anyway, we're straying off topic. I believe we're discussing Google. -
the design is ok, but too much ad it seems.
-
HAHA jonas, well without microsoft the world would have been dump and you guys would have not known about software or current trends.It is the Microsoft who developed the technology.
-
apart from google search , google adwords and adsence . i donot use google for anyother thing. i like yahoo search more than google search.I am a Microsoft fan because of Age of mythology, the game which i like the most and play the most.
-
Some to add over my collectionshttp://cssvault.com/resources.phphttp://www.cssdrive.comhttp://www.glish.com/css/
-
NEED HELP!1
in CSS
one important note also , check your version of your browser too because older versions do not support CSS.
-
What part you did not understand in it,// used for IE <object width="550" height="400">// name and value of your flash file, and can be anything.<param name="movie" value="somefilename.swf">// source file of the movie and also the height and width of movie and is used for netscape.<embed src="somefilename.swf" width="550" height="400"></embed></object>The fact is that if u donot include<object> tag then IE would not able to understand your code and same thing for netscape in the case for <embed> tag.
Blog
in PHP
Posted
i think u can use wordpress and there is a plugin for it which makes it compatible with phpbb2 or as my friend told the above link produces an hack for phpbb2, i have tested the hack it is not fully functional.