ron mccarthy

Greenhorn
+ Follow
since Apr 29, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ron mccarthy

Hi All!!
I am currently writing some dreaded .NET classes for a client that wants some interfacing with an existing product. So I need to mimic what the SecretKeyFactory does but in C#....*sigh*.
All I want to know is does anyone know what it (SecretKeyFactory) does exactly? Apart from the generic description I found online...

SecretKey key = SecretKeyFactory.getInstance(algorithm).generateSecretKey(keySpec); <---this is the line I need understanding, etc
14 years ago
Hi guys,
was wondering if anyone knew how to get a simple button attribute in html to open a new page when clicked, please.
Thanks.
Here it is:



  • java.lang.ClassNotFoundException: com.mysql.jdbc.Driverat java.net.URLClassLoader$1.run(URLClassLoader.java:199)
  • at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
  • at java.lang.ClassLoader.loadClass(ClassLoader.java:289)at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
  • at java.lang.ClassLoader.loadClass(ClassLoader.java:235)at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
  • at java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Class.java:141)
  • at scms.Database.connect(Database.java:22)at scms.Database.queryDatabase(Database.java:48)
  • at scms.logIn$ActionHandler.actionPerformed(logIn.java:94)at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
  • at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
  • at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
  • at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)at java.awt.Component.processMouseEvent(Component.java:5100)
  • at java.awt.Component.processEvent(Component.java:4897)at java.awt.Container.processEvent(Container.java:1569)
  • at java.awt.Component.dispatchEventImpl(Component.java:3615)at java.awt.Container.dispatchEventImpl(Container.java:1627)
  • at java.awt.Component.dispatchEvent(Component.java:3477)at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
  • at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
  • at java.awt.Container.dispatchEventImpl(Container.java:1613)at java.awt.Window.dispatchEventImpl(Window.java:1606)
  • at java.awt.Component.dispatchEvent(Component.java:3477)at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
  • at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)at
  • java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)Driver not found on connection attempt


  • [ May 28, 2004: Message edited by: ron mccarthy ]
    Hello people,
    I have this problem when i try to connect to the database, unfortunately at this line:

    I have this embedded in a try and catch but every time it throws an error back at me. I am convinced that it cant find the Driver but it is beyond me as to why, because I have put it in my classpath and installed it many times.
    Please help me as soon as you can thanks,
    Neil.
    I have printed out the String parameter that is to be my first argument in that line, and it does contain data. The reason I have null as the second parameter in there is because from other code snippets and examples that I have seen. I am at a loss as to why this is a problem. I have the class in a package in my slasses folder in my netbeans, and it compiles just fine. Anyone else got any other ideas???
    Please help me!!!
    Neil.
    19 years ago
    Hi guys,
    I am getting the above error when I try and use the jsapi interface, the I/O points the line as follows:

    Any ideas???
    Please???
    19 years ago
    I'm returning a Vector to a jsp page, and am trying to typecast in as Journey (a class i've created and is recognised by the jsp). But it won't accept the attempt to cast the element in the vector as Journey and returns a ClassCastException
    Please help!!! project's due on friday!!!
    19 years ago
    Hey huys,
    I am using a speech synthesis engine to read text for me but unfortunately when i try and compile my class it gives me the following errors.....
    package javax.speech does not exist
    packafe javax.speech.synthesis does not exist
    All that I am doing is importing these two at the top of the page, as follows:

    Can anyone help please???
    19 years ago
    Hello People
    Yes it is me again, I have my reply page coming up and I have done all the preperation for sending an email, and I have

    This is ok and when i try and send the email I get something like:
    DEBUG: debug javamail 1.3.1
    (I think?)
    Any clues as to why the email did not arrive at its destination?
    Please help if you can!!
    19 years ago
    Hi guys,
    These are the errors that I am getting for this application, and i havent an idea apart from maybe I am not dealing with the email message at the beginning and filtering out HTML pages?
    Can anyone shed any light?

    java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: javax.mail.internet.MimeMultipart
    19 years ago
    Thanks a million.......sorry for before
    19 years ago
    Sorry I am new to the forum and I didnt know about the [CODE] tags, so yeah anyway I didnt try a debugger yet, but I did SOP at the top of the code and it was getting so far and then throwing the exception before it got here *:
    [ edited to fix tags -ds ]
    [ April 29, 2004: Message edited by: Dirk Schreckmann ]
    19 years ago
    "Exception loading sessions from persistent storage" is the error I am getting. I have a package called src with about 3 beans and 2/3 normal java classes. Sorry about the vagueness.....its a bad habit...
    19 years ago
    JSP
    I am getting this error when i load my jsp application onto the browser I dont hav a clue what it is but my project seems to run just fine regardless (to a point), but in case it is masking other errors I would like to know whats going wrong........would it be anything to do with the <jsp:useBean id = "x" scope = "session" class = "src.y"> tag???
    Please help, I am running NetBeans 3.5.1 and I am using the internal Tomcat server!!
    Thanbks in advance,
    Ron.
    19 years ago
    JSP
    Thanks...must check it now
    19 years ago