5,727 Posted Topics
Re: tough luck. If they teach you to do it like that ask for your money back. | |
Re: which indicates that the SQL you're sending to the server is incorrect. That's hardly surprising given the way you're working. You have PreparedStatement to send parameterised queries, use it. If it still doesn't work, use a database client and type in the query, see what it does. It's however a … | |
Re: we're not here to do your homework for you, and we're not going to go through hundreds of lines of code to find where your errors are located. If you are getting compiler errors (which you should as you say it doesn't compile) solve those. If you can't for whatever … | |
Re: what happens depends on what the people making the setup script/program programmed it to do. That's all anyone can say, as it could do anything. | |
Re: heard of such things happening quite regularly. Funniest was a couple of kids deciding to rob a bar which turned out to be an after-duty hangout for the entire local police force... Bust in with weapons drawn, everything goes deadly quiet as they see all the uniforms and face a … | |
Re: we're not your homework service. And that extends to private messages. | |
Re: Or better yet, write it to have a single exit point... [code] static int doMath(char op,int numa, int numb) { int result; switch (op) { case '+': result = numa + numb; break; case '-': result = numa - numb; break; case '*': result = numa * numb; break; case … | |
![]() | Re: better try to put your idea into words that actually make sense, because as it stands you make no sense at all. |
Re: no, you need to get a contract how else are you going to get paid? You'd have no leg to stand on if your client refused to pay or starts making trouble about your work. | |
Re: only lowlifes would do kids' homework for them, as doing that will make their chances of employment lower and only lowlifes don't care about that (as they're too stupid to be employable anyway)... | |
Re: You were hit by a statistical fluke. The vast majority of spam is generated by automatic processes that couldn't care less about the text of the posts they're spamming. They work either completely at random or by looking for certain keywords in the text or title of a post and … | |
Re: There are many websites and books explaining pathfinding. Read some, try your hand at some implementations, and come back if you have specific questions that aren't centered around your unwillingness to do your own homework. | |
Re: photography, and occasionally I try my hand at making chainmail. | |
Re: [QUOTE=tech74;438908]Honestly, I'm getting more and more disappointed every time I see someone say, "I'm not doing your homework for you." and I'll tell you why... [/quote] and I'm tired by kids who complain that they aren't getting their homework done for them without showing any effort of their own whatsoever, … | |
Re: If the discount is fixed at 20% you don't have to calculate the discount rate, it's 20%... The amount is simply 0.2 times the amount of the invoice. Whether that should be taken before or after taxes is irrelevant to the invoice after taxes. It may however be relevant for … | |
Re: and use a descriptive topic rather than some random combination of letters. | |
Re: maybe if you were to ask nicely instead of trying to command us to do something you'd get some response. Most likely it would be a link to a tutorial or online bookstore where you could read up on the topics, which are explained quite well in both online and … | |
Re: an interesting project might be to investigate why kids are too lazy to come up with their own project ideas. | |
Re: he was manhandled and tazered for trying to ask a question Hanoi John didn't like. Of course he resisted... | |
Re: just a quick scan revealed at least one syntax error in the Java code. Didn't bother to try to make sense of the rest after that, if you can't get it to compile there's little sense going further. Anyway, it's a bad idea to have your web app keep its … | |
Re: Far better to use a PreparedStatement, no trouble figuring out what quotes (single, double) a specific database engine requires. And of course never eat any exceptions that may occur, as they're likely to tell you what went wrong. Capturing the output of the executeUpdate statement can also tell you a … | |
Re: IDEs hamper learning. Most people using them to learn a language end up learning the IDE instead of the language and get into serious trouble as soon as they're presented with a situation where they don't have access to that specific IDE. | |
Re: What EXACTLY don't you understand? You already have the program flow, all you have to do is figure out what happens during each step. And we're not here to write your homework papers for you, so we're not going to write that all out for you to copy and turn … | |
Re: [QUOTE=lookof2day;439104]Any number multiplied by 0 is always 0.[/QUOTE] Not necessarilly when we're talking about computers and floating point mathematics. You could run into rounding errors causing one or the other and/or the result to not really be 0 (at least as represented in computer memory). | |
Re: [code] public class TheCode { } [/code] There you go, The Code. | |
Re: nice country but I wouldn't want to live there (which I do, now you know why I'm grumpy). | |
Re: A properly configured application server won't let any application running in it directly access any file system resources that aren't on that application's context root (so inside its WEB-INF directory for a Java web application server, plus directories specifically specified in deployment descriptors) for security reasons. Apart from that there's … | |
Re: That's not any error you'd get from the compiler or runtime, so it has to be either your program or your editor. Show us some code (though I have some ideas...). | |
Re: [QUOTE=jbennet;368190]she was negligent. the parents were british and in britain its illegal to leave 3 young kids alone in a room. Should have known better[/QUOTE] even if the kids are asleep and you're in another room in the same house? And mind that they were NOT in the UK so … | |
Re: if you have a legal copy you'll have the documentation which includes tutorials. if you don't you're a lowlife pirate and deserve no help apart from a hobnailed boot kicking you to hell. | |
Re: except the mayor of Brussels who banned a silent memorial and had attendants arrested because Muslims might be angry... | |
Re: Delphi is a nice language, but if you need to ask how to start making an rpg in it specifically the only reasonable answer is to forget about it all. The question itself indicates that you're not ready for a project of such scope using whatever environment you choose to … | |
Re: and? What's the problem? You have the data, so use it. | |
Re: [QUOTE=TheNNS;432833]what ever happen to the days when the olympics were just fun events to watch and had nothing political to do with anything?[/QUOTE] What days were those exactly? Even in antiquity there was politics involved, with athletes from different cities competing (though not openly sponsored by those cities). But given … | |
Re: mostly it's marketing hype. A project title or description containing the word "web" or "web based" will get far more budget when presented to venture capitalists and company boards. A resulting product will likely also sell for more money (despite being usually less userfriendly, slower, and have less functionality than … | |
Re: There's little that can not be done in Java, mainly things very close to the hardware (and with the right hardware you can do even those). | |
Re: What "step up" are you referring to? If you mean the Wireless Optical Desktop Pro I'd consider that money well spent. But then I'm already using a $100+ keyboard in the Logitech Cordless Desktop Comfort and don't think spending that kind of money to prevent my hands and shoulders from … | |
Re: degrees may have some influence on your starting position in a company, and thus on your starting salary. But overall experience and years of employment count for a lot more (something most fresh university grads are rather alarmed to discover, when they notice their salaries are lower than that of … | |
Re: [QUOTE=Lardmeister;421761]In the more civilized parts of the United States, you can not run around bearing a gun! The police has the right to shoot you![/QUOTE] And under the constitution you have the right to shoot back, as any such local law is unconstitutional. The 2nd is designed to prevent such … | |
Re: And second: asking for preferential treatment by claiming you need something urgently (or "by noon and it's already 10AM") will be counterproductive. Now for your question (12 hours sounds like a decent penalty :) ): The simplest way would be to insert some logging statements at the beginning and end … | |
Re: An IDE isn't going to help you any if you don't know Java, so learn that first :) And get a good protocol document on FIX (and make sure it's for the right version of FIX, there are several in use). After that, the actual parsing and generation shouldn't be … | |
Re: What is the actual error the JSP compiler reports? It will tell you what's going on, the bit you posted is just telling that there was an error... Remember that your system classpath is NOT the classpath for a web application (or for Tomcat itself). A webapp classpath consists of … | |
Re: >Why do they make computers harder to use and program than they need to be? Here are some examples: Are they? Never noticed. But I have more than half a braincell. > - Why do most spreadsheets and programming languages do trigonometric functions in radians, when most people use degrees? … | |
Re: What are you smoking kid? In Java every statement (unless it is a compound statement) needs to be terminated with a semicolon (compound statements need not be, as they're demarkated by braces which act as terminators). Your "Java" example looks more like Visual Basic to me. |
The End.