Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dgilmore

    if (with many conditions)Vs Switch

    Sonali, Had a thorough search and could not find a definitive answer. However I feel i have to point out some elimentary mistakes in your code 1)Primitives do not have methods, so you can't call equals() on a char. You have to use ==. 2)The if statement and the switch statement you have...
  2. dgilmore

    missing method body, or declare abstract

    Hi baldockl, If you have a look at the end of your methodEquals() declaration line you'll see a semi-colon. Take it out and the program will work. David
  3. dgilmore

    How to access com/mycompany/classlib/myclass.class

    Maybe this is too obvious, but have you imported the package in the servlet?
  4. dgilmore

    Passing session beans to servlets

    Hi John, Just get it from the session ie: DataBean dataBean = (DataBean)session.getAttribute("databean"); David[afro]
  5. dgilmore

    Appending to a text file in JSP

    Hi idam, If you use FileWriter, there is a constructor FileWriter(String fileName, boolean append). If you set append to true, any writes to the file will be appended and will not overwrite the other data. There is a method inherited from Writer, write(String str) throws IOException, that...
  6. dgilmore

    jdbc: how to find if a table exists

    thanks Ben, those are exactly the problems i'm facing and it's the solution I'm currently using until I find a better one!!! The good news is that after a hell of a lot of searching i have found a method at http://www.cs.waikato.ac.nz/~ml/weka/doc_gui/weka.experiment.DatabaseUtils.html it is...
  7. dgilmore

    jdbc: how to find if a table exists

    The application i'm programming will eventually have functionality to access different vendors databases, providing different drivers, commands etc which is why I want to find a solution through Java.
  8. dgilmore

    jdbc: how to find if a table exists

    I'm writing a database tools application and a portion of my code depends on whether a table exists or not. Is there any test (say returning a boolean) to tell whether this table exists? I've searched the API with no result. Any help, whether a hack or not, would be much appreciated.

Part and Inventory Search

Back
Top