5,727 Posted Topics
Re: What's considered excentric changes over time. An 18th century dandy might fit right into polite early 20th century society for example. And if you were to walk around today in a Roman style toga you'd be considered more than a little bit excentric (outside an SCA meeting at least) while … | |
Re: If you add the -source 1.4 flag you will NOT get 1.4 compatible classfiles. All that does is flag 5.0 only features as errors in the code, effectively ensuring whether it would compile using a 1.4 compiler. You also need to add the -target 1.4 flag. | |
Re: The JSE is WAY too bulky as it is. If anything a LOT should be removed from it, not added. Things to be removed to addon APIs: Swing XML RegExp SOAP (which will be a standard API from JSE6) AWT | |
Re: I think it's fishing for someone to create something using JDBC and JSP and send it to him via email so he can pass it off as his own in a homework assignment. That's not just stupid, against forum rules, and immoral, it's also extremely impolite and against all commonly … | |
Re: I've been to the DDR when they existed. It was hardly a game and I'd not like to live in a place like that :) | |
Re: You will need to get the complete html data anyway else you can't render it :) If the data is properfly formatted XHTML it's easy as 1-2-3, just create a DOM parser and look for all "a" tags, then take the href arguments from those. If it's not properly formatted … | |
Re: Rethink your architecture. Ever more people block all popups on general principle as 99% of them are advertising. Use a 0-sized div on your page instead. | |
Re: Your site is copyrighted implicitly, there's no need to register copyright (and there hasn't been for several decades no matter what some lawyers want you to believe). The only thing registered copyright does is potentially make it easier to prove you have the originals, but in the case of a … | |
Re: [code] for (int i=1;i<65536;i++) { %> <tr> <td><%= i %></td> <td style="border-right=thin solid blue;">&#<%= i %></td> <td> </td> <td><%= ++i %></td> <td style="border-right=thin solid blue;">&#<%= i %></td> [/code] part of a JSP I wrote that outputs the entire UTF-8 character set. | |
Re: Depending on the server (whether it defaults to text mode, binary mode, or autodetects which is needed) the first may return a corrupted file. You will get a connection in either case, but unless the data you are retrieving is text only not adding the 'i' flag may result in … | |
Re: Indeed, why should we go to a site we don't know on the basis of someone we don't know asking us to press a button there that does something we don't know? | |
Re: OK, I assume you know what a linked list is else it gets cumbersome :) A hashtable is a special type of map where the items are indexed on the hashcode of the key. The hashcode is an integer calculated over the item being stored, in this case your data. … | |
Re: JSP Wiki already exists :) In fact there's an open source wiki with exactly that name (which is indeed written as a set of JSPs). the original idea is indeed not very complicated. RSS feeds are just standard components to plug into existing frameworks and servers so add only the … | |
Re: Use JSTL and it's a breeze. And indeed you shouldn't do SQL and any other non-display related stuff in a JSP. | |
Re: Did you even listen? This is NOT a forum about Javascript. Go ask your questions where they belong, you might get an answer there but I doubt you're going to like it. | |
Re: what's wrong with getting -1 if something isn't found? It's a non-existent index for a string, therefore easy to check for. If you get any number greater than -1 the substring (in your case a single character) you look for exists in the target string, couldn't be easier. If Sun … | |
Re: Don't use a single massive monolith of a class. That way lies disaster. For the rest, sit down and write a design. Doesn't have to be a lot, just put some thoughts onto paper how you're going to do this thing. Then start your text editor and start writing Java … | |
Re: seconded. But at least the OP knows (s)he had to prepare for an exam. Apparently (from the wording) (s)he didn't though, so (s)he'd better start preparing now to retake the exam at a later date :) | |
Re: Why should it be? You have no inalienable right to every piece of old (or new) software out there. If companies were to release every piece of old software as freeware they'd have a massive support burden as well as massive loss of sales on newer products. | |
Re: Any process is better than no process with the exception that using a process you don't understand is a sure way to disaster. | |
Re: RTFM... There's a very good manual included in your documentation package that comes with the JDK (you did download and install the documentation did you?). There's also a very nice tutorial on Sun's website, and every beginners' book on Java worth the name contains the information as well. | |
Re: Start by laying down the business requirements, then do a thorough usecase analysis. Basically run through the entire development cycle and don't just sit down with a code editor and stare at your screen hoping that someone will write your software for you (or even more optimistic, hoping it will … | |
Re: JavaMail makes creating mail clients a breeze. Servers are more interesting. | |
Re: The internet as a whole isn't fragile. While indeed parts of it may be cut off from the rest or even destroyed the net as a whole can go on regardless. Indeed entire continents could be cut off from the rest of the world and each of the parts still … | |
Re: [url]http://www.sun.com/training/catalog/courses/SL-275.xml[/url] cough (the course ends with creating a complete chat application on the last day). | |
Re: Why wouldn't it be? The jar command doesn't care about what it packs up :) | |
Re: And of course them sending veritable floods of CDs all over the world, including to countries where they don't even operate (don't ask me why). That too may have declined, at least I've not seen them here (or maybe they've become smart and realised they don't operate in this country). … | |
Re: Stop is deprecated ages ago because it's extremely dangerous. It potentially leaves a lot of objects in undeterminate states. I'd not be surprised if Sun has resolved the native part of the code to silently fail and not actually do anything for that reason (they've done so with several other … | |
Re: I don't know anyone called "u"... But I suggest you think about where you can use System.println, as your understanding of how to use it seems to be lacking. | |
Re: Uhhhhhhh, you have to write a Java program and you've never seen the language and now expect to learn everything about it from looking at a short code sample? Start with the tutorials at java.sun.com, get some good books (Head First Java is a good one), get some OO design … | |
Re: Idiotic analysis. Healthy companies (which Sun and Google both are) don't set agendas based on wanting to destroy other companies. Neither Google nor Sun could exist at this stage without Microsoft and they know it. Google will never dominate the software market. They don't have the culture for it. In … | |
Re: Perhaps you need to learn how to use your tools? Compile the class and JBuilder will see it in other sources. Apparently you'd failed to do that (or provide a compiled version some other way). While often it will see uncompiled sources directly, sometimes it fails. This is especially the … | |
Re: So all you need to do is find out how to most efficiently give change? How do you determine what combination of coins and bills to use in a store? All you have to do is put that reasoning into code. Say you give $1.26 in change. How many dollars … | |
Re: [QUOTE=server_crash]Hmm, that's weird. It only took one parent to have "under God" taken out of the pledge of allegance.[/QUOTE] That person had the billions (dollars that is) of the ACLU behind him, if anyone supports people who are in favour of teaching evolution or keeping a phrase like that they're … | |
Re: You really have no need to know. There are no pointers for you to manipulate so there's no need to reserve space for a series of objects and address that space at discrete intervals. As long as you know what the different primitives can hold (which is no guarantee they're … | |
Re: There is no need to know. A boolean is a boolean is a boolean. How it's defined internally is inconsequential to the person using the datatype. It could even be different on different JVMs, so counting on a particular implementation is dangerous. | |
Re: It's usually defined as breaking up a system into its component parts. You can then design (or purchase), build (if you decide to build your own), test, and deploy these separately. When using UML you should end up with a component model and probably a deployment model. | |
Re: Dump it. Send the harddisks to a data recovery company for spooling the data onto tapes or new disks and put those in new computers. Even if you could clean the old ones, I'd not want to trust my business to them. Corrosion, electronics+water=shorts, etc. etc. | |
Re: It does exactly what you tell it to do. First you loop over the entire resultset, then you add the current entry (which at that point is the last one) to the control. I suggest you analyse what you're doing, you'll soon enough figure out why it's not what you … | |
Re: No, you cannot change the size of an array. Use an ArrayList instead, not a Vector. Vector has notoriously poor performance, and should only be used when an ArrayList cannot provide the functionality needed while a Vector can (by the time you know when that is you know what it … | |
Re: There's an option to convert any number to a binary representation in the wrapper classes. | |
Re: JNI is an interface layer that lets a Java application call native code libraries (like DLLs on Windows and OS/2 and shared objects on Unix). Check your compiler documentation and the Java section at the better stocked specialty bookstores. | |
Re: That's correct. When you add something to it any Iterators you have on it are invalidated. Either defer the inserts until after you are done iterating (maybe add the stuff temporarilly to another Collection and later use addAll on the LinkedHashSet to add the content of that Collection or loop … | |
Re: yah, Format is in java.text, you probably forgot to import it. | |
Re: You might be able to pop up a frame with an image at the start of the init method and close it again when the init method terminates. |
The End.