5,727 Posted Topics
Re: Watcom is back? Thought that compiler was declared end of life a decade ago. | |
Re: Noone's going to browse through your stuff and fix it all for you. Copy relevant parts in code tags and show where you have problems, and people will most likely try to help. | |
Re: Wrong. I've done tests where I created a new email address on my own server and domain. Before I ever used it anywhere (it was only intended for this test) I was getting spam, sometimes within 5 minutes of the address being created. My bouncelogs also show a lot of … | |
Re: You create a JTextArea but you don't add it to anything. As a result it's never displayed. Setting visible to true isn't going to do it, you need to add the actual JTextArea component to a container (like a JPanel). | |
Re: An ArrayList isn't an array. It (nor Vector which you shouldn't use, it's there for legacy use only) has different mechanisms. To retrieve an item from your List use the get(index) method. Under Java 1.5 (5.0, Tiger) you should thus do the following: [code] ArrayList<Item> itemsList = new ArrayList<Item>(); ... … | |
Re: please don't post your questions in threads created by others, create a thread of your own. | |
Re: For game DESIGN you don't need any programming. A DESIGNER writes storylines, makes decisions about how things will look, signs off on graphics and sounds, things like that. His main technical skills are with word processors and graphics packages (most likely MS Word and PhotoShop) and at scheduling meetings. A … | |
Re: not just that, but you DO get an object instance when you do "A a;". It's just created in a different memory space as compared to "A a = new A();". | |
Re: And read a bit in the manual, it's enlightening :) | |
Re: Do be advised that on the fly XSLT transformation can be very slow, unless you take care to cache the precompiled XSLT files between invocations. I've done testing for that in the past. I've actually written a system doing as Matt suggests in Java, using XSLT on a fairly large … | |
Re: sounds like a homework question, in which case it's safe to answer a month or so later ;) Which message do you mean? The request message or the response message? a) is just a special case of b) d) is another way of describing c) b) could be true for … | |
Re: there are no specific books about that extremely narrow topic (nor will you if you do it properly write the thing using JSPs only). Look for books about security, user interface design, software design in general, JEE application architecture (and the underlying technologies), maybe a JSP tutorial and reference could … | |
Re: I've been there, but that's over 25 years ago. Things have probably changed a bit by now :) | |
Re: Why 541? 100 should be enough to store a hundred primes... | |
Re: NEVER use == to compare objects. It doesn't work. It MIGHT work for Strings, but there's NO guarantee. | |
Re: Are you sure it's calling the servlet constructor? That would be really weird. Remember that your SOAP service classes are NOT servlets (or at least not used as such by the SOAP processes) and are indeed most likely initialised one for each request. Nothing weird about that (though a SOAP … | |
Re: well, you're not using the official JDK there. Check your $PATH and $JAVA_HOME environment settings and make sure they point to your JDK installation. As it is you're pointing to gcj which is to put it bluntly a disaster, I'm surprised you got anything to compile and/or run under it … | |
Re: [QUOTE=Sanchez10;282191]An operating system for windows.[/QUOTE] My windows don't need an operating system, they're fully mechanical. ![]() | |
Re: Not just is spamming illegal and immoral, it's also a violation of the terms of service of pretty much any website. And so is using automated scripts to post messages and annoy users with private messages. | |
Re: Tomcat has its own log4J configuration that overrides your own. Append your own config to that one. | |
Re: Never heard of any database returning error "cords", but if you mean error CODES the database documentation will tell you what each means (if it's good, if not find a good book about your specific database engine). Normally you hardly need to worry about the exact codes as all of … | |
Re: without knowing what you're trying to do it's kinda hard to give you hints on how to do it. | |
Re: Don't use Paypal, they're a known scam operation. Thousands of people get their bank accounts cleared out every year by Paypal (all legal under the usage agreement too, you give Paypal complete control over your bank account when you sign up with them). If Paypal is required to use eBay, … | |
Re: or contact some guy in Nigeria. They seem to have a lot of very rich people there who are desperate to get money out of the countr and are willing to share :) | |
Re: Once you have a connection you can talk over it using the command set provided for that protocol. So you'll have to write FTP commands to that connection, and read the answers. The RFC can tell you what those commands are (and there are quite a lot), or you can … | |
Re: any tutorial will tell you how to do that. Pay more attention in class and actually read your course material. | |
Re: Since your error message indicates garbage in front of "Manifest-Version", I assume your file contains garbage there. Try recreating the manifest file from scratch, do as most people do and use ANT to make it for you ;) | |
Re: buy low, sell high, don't trust "investment experts" to give you useful advise (they know little more than you do). Working the stock market is 90% gut feelings, 10% keeping up with business information relating to the companies you're interested in. | |
Re: You haven't looked good enough, there are some pretty good examples out there. Sun themselves for example have one. And I know for a fact there's one here as well (I wrote it...). [url]http://www.daniweb.com/tutorials/tutorial17917.html[/url] Remember that an array is just an object. You would better return a collection though, less … | |
Re: If you need to pay people to use your site, your site isn't worth visiting and you'd better rethink your business model. | |
Re: I don't know what you should do in WL 8.1. WL 6 pretty much required you to create the deployment descriptors, package everything in an EAR file, and deploy that. | |
Re: Start at the line number given in the exception and work back from there. You're trying to call a method on an unitialised object reference, something that's impossible. Once you know what reference that is, work back to find out why it's not initialised (or maybe you're working with the … | |
| |
Re: Books have been written about creating games (including several specifically about RPGs and RTSs). I don't know any websites giving complete (or even partial) code listings for one though. That's not to say they don't exist, but I've never looked for them. | |
Re: Whether it does anything at all also depends on the database settings. It could well be that the database is set to not support autocommit for example, requiring an explicit commit or rollback. Personally I consider that to be the best option in most real applications, as it gives more … | |
Re: well, a lot of application manuals tell you something like "click with the mouse on the printer to print". Someone's bound to take that literally :) | |
Re: winter's too cold and too wet, summer's too hot (well, it's supposed to, this year it was mainly too wet), autumn and spring are too wet... Overall though I'd say spring is the least disagreeable season. | |
Re: Seems a very clear and concise error message to me. You're trying to turn something into a date that isn't recognised as a date. The solution is to make sure it is recognised, using the relevant formatters and converters provided in the standard library. | |
Re: I think you'll at some point run into limits for the maximum length of classnames (including package names) which are likely Integer.MAX_VALUE. Before that you'll possibly run into the maximum size of codefiles (though those can be quite large). The most serious problem of all of course is that it's … | |
Re: €55 a month for unlimited 2MB ADSL. Demon Internet Netherlands. For that I also get 20MB webspace (which I hardly ever use but it comes in handy for things like sigfiles and stuff), the option to run my own mailserver (which I do), a fixed IP address and (sub)domain name, … | |
Re: First, the term "session bean" is reserved for a specific class of Enterprise Java Beans, or EJB. I doubt you're referring to those. Java has a built-in LinkedList type, simply store an instance of that in the Http session and add to it. | |
Re: Good thinking. PHP is a Very Bad Thing, teaches poor programming practices, and therefore should be actively discouraged. Maybe suspending the youthful delinquent is going too far, but he should be told to write "I will never use PHP again" 10.000 times by hand without corrections and turn it in … | |
Re: and what have you tried? Tried getting someone else to do it for you elsewhere I guess? And why are you too lazy to even copy and paste the entire assignment including your teacher's email address so we can send the solutions directly to them as extra service? | |
Re: Don't do other kids' homework for them, it only leads to stupid lazy people gaining diplomas. | |
Re: NEVER hardcode a path anywhere in your application. If you use the BGI (which stands for Borland Graphics Interface btw) you will need the BGI files of course, which are the graphics drivers for that system. You do NOT need to have TC itself installed anywhere except on your own … |
The End.