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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mydavor

  1. mydavor

    xml to Java code converter

    I do not think I have it. With that name, I have only: xmlbeans.jar under jbuilder\lib and XmlBeans.library under jbuilder\lib. Are they of any use? Alternatively can I download it from somewhere? Only that is provided on Sun site for such a xml, that holds a bean created by BeanBuilder is...
  2. mydavor

    xml to Java code converter

    Do you know any tool that can generate Java code from an xml ? I could only create an xml file with Sun Bean Builder, version 0.6 ? Can it generate Java code? How can I download version 1.0 ? I found that certain fetures of bean Builder gen be accessed via it Project Propery, but I could not...
  3. mydavor

    JTable.setValueAt does not fold string

    Great help, thanks
  4. mydavor

    JTable.setValueAt does not fold string

    javax.swing.JTable tableEnv = new javax.swing.JTable(); tableEnv.setValueAt((Object)EnvText1, 0, 0); String EnvText1 = "ENERGY USE AND GREENHOUSE EMISSIONS" + "\n " + "What effect will the proposal have on energy" + "\n " + "consumption and greenhouse gas emissions"; I am trying to insert a...
  5. mydavor

    NullPointerException, at javax.swing.ImageIcon.<init>(Unknown Source)

    NOTE THAT ALL THE IMAGES ARE IN classes/images and WEB-INF/images, THEY ARE also in a .jar file. should they be in the jar file ?
  6. mydavor

    NullPointerException, at javax.swing.ImageIcon.<init>(Unknown Source)

    THIS PIECE OF CODE SUDDENLY STARTED FAILING FOR SOME IMAGES, IT USED TO WORK FINE. THE IMAGES ARE AVAILABLE, AND THE SAME STUFF WORKS PERFECTLY WHEN ACCESSED FROM A REMOTE BOX. AT FIRST I SUSPECTED ON MISSING JAR, SO I CHECKED MY CLASSPATH MANY TIMES, BUT NO, IT FAILS ONLY FOR A FEW IMAGES -...
  7. mydavor

    java.lang.NoClassDefFoundError

    OK one solution that worked is to install JRE on each client box. BUT, is it possible to have only the applet or the jar on the client machine rather than all JRE ?? Additionally my applet is not called from a html but from java code. Ie a html calls : <form method="post"...
  8. mydavor

    java.lang.NoClassDefFoundError

    Tell me how
  9. mydavor

    java.lang.NoClassDefFoundError

    I am getting the following error: Error loading class: DPSysNavClass java.lang.NoClassDefFoundError java.lang.ClassNotFoundException: DPSysNavClass at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/applet/AppletPanel.securedClassLoad at...
  10. mydavor

    Api over Tomcat loses database connection

    Sometimes I stop using my application for 10 minutes or more, and when I am back and start using it, it stalls and a debug message "NO CONNECTION TO DATABASE" appears in the Tomcat window. Why is that so ? Do I need some keep-alive messages ? If yes how can they be implemented ?
  11. mydavor

    no method body

    What is the meaning/function of the following declaration of getInitData method ? There is no body whatsoever, so what does getInitData actually do (obviously it is not inherited)? import java.util.Vector; import javax.servlet.http.*; public interface DataSelectionServInterface { public...
  12. mydavor

    Cannot call a servlet, all other working

    Thanks for the tip, I can open the sevlets from browser, using a html, so the path is correct. Sadly I found the following, so I'll have to think of a workaround. On http://jakarta.apache.org/tomcat/tomcat-4.0-doc/servletapi/javax/servlet/ServletContext.html ir says: getServlet(java.lang.String...
  13. mydavor

    Cannot call a servlet, all other working

    The following piece of code cannot initialise any servlet, although all servlets used, exist in the given directory (http://localhost/eDevPro/servlet ie %CATALINA_HOME%\webapps\eDevPro\WEB-INF\classes) and although they can be called from applets. Can you please, have a sanity check. Thanks in...
  14. mydavor

    java ia NOT reading the latest .class

    Well, this was certainly a clean up. I found the classes even in same caches. But what actually helped is renaming the offending class, and all its references and recompiling it from scratch again. The other offending file got sorted out after this. Thanks
  15. mydavor

    java ia NOT reading the latest .class

    OK, I'll certainly do it. BUT my other problem is more sinister than that: I have commented the offending lines out, they are not essential, put a few printlns and recompiled that and all other files and when I run it, it behaves like it is using the very same old .java and .class file. Where...

Part and Inventory Search

Back
Top