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 Wanet Telecoms Ltd 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. daniel135

    a question of politics & Ethics

    In another thread, I believe it is CajunCenturion that refers to the latin etymology of Ethics as referring to "Character". I believe that behaviour definitely shows good character. Kudos!
  2. daniel135

    a question of politics & Ethics

    Of all the solutions proposed, getting another job, offering to handle the website and telling the boss you can't cover his ass are those I prefer. They show more courage than the usual anonymous tip. These can lead to very poisonnous work environments with too much distrust... they have to be...
  3. daniel135

    Strings - Find and Replace

    lol... yeah, still that's exactly the situation I'm in... would really like to use the nice features in 1.4, but can't (using WebLogic). PieterWinter- thanks for this (you get a star!). I knew my version had a bug in it (not at all likely to affect us though), but just haven't had the time to...
  4. daniel135

    java compile option to make an applet signed

    methinks you're looking in the wrong place.. try signing the jar instead
  5. daniel135

    Compile option for Applet to look signed

    What you're looking for is signing a jar: http://www.google.com/search?sourceid=navclient&q=sign+jar
  6. daniel135

    Base64 decoder in ServletOutputStream truncated

    The following code snippet only sends back the first 4 bytes of a .zip file, has an error with .doc but spits out a whole entire text file... import com.oreilly.servlet.Base64Decoder; private void testStream(HttpServletRequest req, HttpServletResponse res) throws ServletException...
  7. daniel135

    Strings - Find and Replace

    sorry, I don't. I would recommend upgrading to Java 1.4 if at all feasible. I can't yet, so I'm sticking with this code, however much of an ugly patch it may be. It is only used for replacement on variables such as $DATE$, where there is no risk of encountering an infinite loop. If you can't...
  8. daniel135

    going from SCJP to SCJD -- tips?

    I just passed the SCJP yesterday, and am thinking about trying to pass the SCJD next... any tips? I've only got about a year's programming experience (6 of them in Java), and no formal CS studies. I used Mughal & Rasmussen's A Programmer's guide to Java Certification. I wonder if I have enough...
  9. daniel135

    Have site launch IE full screen

    try the JavaScript forum... you might have more luck there!
  10. daniel135

    pass null to int field of method

    How about just passing (int, int, Integer)? If you are using a PreparedStatement, remember to use setNull(). (If not, what are you using?)
  11. daniel135

    Uploading???

    How about packaging it as a jar and leting people download it? you could provide screenshots on the website.
  12. daniel135

    How to convert String input to Float ?

    It's in the Javadoc for Float: static float parseFloat(String s) Returns a new float initialized to the value represented by the specified String, as performed by the valueOf method of class Float.
  13. daniel135

    Record Locking in JAVA

    you shouldn't have to keep track of that in the Java part... that's the job of the database.
  14. daniel135

    converting an array of bytes into a (usable) string

    String has a handy constructor just for that: String(byte[] bytes) Constructs a new String by decoding the specified array of bytes using the platform's default charset. For future reference: http://java.sun.com/j2se/1.4/docs/api/index.html
  15. daniel135

    automating routines

    Easiest is probably a batch file... if you want to use Java, pay close attention to the File class. Good on you for being lazy and wanting to automate dumb tasks. Laziness is a programmers' greatest virtue!
  16. daniel135

    java & POP mail

    javax.mail works fine for me. As to where to find a tutorial... google is your friend: http://www.google.com/search?sourceid=navclient&querytime=YT-E&q=javax%2Email+tutorial try the SUN tutorial first...
  17. daniel135

    Problem with class declaration...

    GT500FOMOCO, Try a google search on switch statements and local variables, or see Sun's Java Tutorial. Are you putting that in an Applet somewhere? that looks like a fun project! "Don't bother measuring my productivity by lines of code -- it would be negative"
  18. daniel135

    My First Day with JAVA

    A Programmer's Guide to Java Certification, A Comprehensive Primer; by Khalid A. Mughal and Rolf W. Rasmussen that's where to go if you want to be thorough. For starters, though, Sun's Java tutorial is a good start. Get a few 'noClassDefFound' Errors, then hit the book. Good luck!
  19. daniel135

    Serializing a ResultSet

    We use Oracle here at work, and it's a rather simple process of registering the Driver and making a Connection. It's a much more elegant way than Serializing a query result (especially when you don't need everything that is returned!). Try finding an online tutorial for your conditions --...

Part and Inventory Search

Back
Top