Jump to content

eguru

Members
  • Posts

    89
  • Joined

  • Last visited

Posts posted by eguru

    Blog

    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.

  1. Dear Friends I have a unique problem in java, when i try to connect to mysql db.It shows an error message:

    Unable to load driver. Getting Connection ... SQLException: No suitable driver
    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.jsp
    <%@ 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()); } %>
    Now is there anything i have to configure apart from this.Thanx in advance.
  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.
    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 )
  7. 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.

  8. 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.

  9. 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.
×
×
  • Create New...