5,727 Posted Topics

Member Avatar for Pinky.Rozita
Member Avatar for lookof2day
0
249
Member Avatar for tinamary
Member Avatar for Renzokouken_22

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 …

Member Avatar for ~s.o.s~
0
78
Member Avatar for cmymazda

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 …

Member Avatar for cmymazda
0
143
Member Avatar for MxDev

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.

Member Avatar for lookof2day
0
106
Member Avatar for The Dude

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 …

Member Avatar for Lardmeister
0
128
Member Avatar for cardanadam
Member Avatar for cardanadam
Member Avatar for jwenting
-1
70
Member Avatar for fishguts

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 …

Member Avatar for fishguts
0
96
Member Avatar for pulkitmalhotra

better try to put your idea into words that actually make sense, because as it stands you make no sense at all.

Member Avatar for orko
0
128
Member Avatar for lollerskates

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.

Member Avatar for Halbo
0
239
Member Avatar for annagraphicart

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)...

Member Avatar for raananschwartz
0
74
Member Avatar for Poppy8sd

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 …

Member Avatar for lasher511
0
127
Member Avatar for nwad

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.

Member Avatar for jwenting
0
83
Member Avatar for Infarction
Member Avatar for ndeniche
0
445
Member Avatar for militant880

[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, …

Member Avatar for no1zson
0
165
Member Avatar for java_starter

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 …

Member Avatar for jwenting
0
142
Member Avatar for kpssivam

and use a descriptive topic rather than some random combination of letters.

Member Avatar for jwenting
0
63
Member Avatar for maheshmohan

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 …

Member Avatar for orko
0
103
Member Avatar for kaarthikvr

an interesting project might be to investigate why kids are too lazy to come up with their own project ideas.

Member Avatar for orko
0
76
Member Avatar for The Dude

he was manhandled and tazered for trying to ask a question Hanoi John didn't like. Of course he resisted...

Member Avatar for jasimp
0
226
Member Avatar for aruna_k_2006

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 …

Member Avatar for orko
0
109
Member Avatar for ivatanako

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 …

Member Avatar for jwenting
0
722
Member Avatar for sathya_k_83
Member Avatar for upstream

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.

Member Avatar for jasimp
0
255
Member Avatar for apontutul

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 …

Member Avatar for jwenting
0
89
Member Avatar for java_starter

[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).

Member Avatar for jwenting
0
166
Member Avatar for challa.kamal
Member Avatar for jwenting
0
268
Member Avatar for Herm

nice country but I wouldn't want to live there (which I do, now you know why I'm grumpy).

Member Avatar for Lardmeister
0
241
Member Avatar for rohit saroha
Member Avatar for sarath.koiloth

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 …

Member Avatar for sarath.koiloth
0
143
Member Avatar for mallim
Member Avatar for vladdy19

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...).

Member Avatar for jwenting
0
63
Member Avatar for The Dude

[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 …

Member Avatar for The Dude
0
255
Member Avatar for jtechie

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.

Member Avatar for jwenting
0
72
Member Avatar for Dani

except the mayor of Brussels who banned a silent memorial and had attendants arrested because Muslims might be angry...

Member Avatar for hbk619
0
77
Member Avatar for dombrat

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 …

Member Avatar for jbennet
0
77
Member Avatar for bumassjp
Member Avatar for dspc

[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 …

Member Avatar for jwenting
0
284
Member Avatar for darkagn

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 …

Member Avatar for jwenting
0
93
Member Avatar for wasee

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).

Member Avatar for masijade
0
166
Member Avatar for corolaron
Member Avatar for Esmo2000

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 …

Member Avatar for tuleneruger
0
171
Member Avatar for SkyRender

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 …

Member Avatar for realnapster
0
143
Member Avatar for Dave Sinkula

[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 …

Member Avatar for RPDunn
0
358
Member Avatar for vamsee

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 …

Member Avatar for Ezzaral
0
479
Member Avatar for staneja

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 …

Member Avatar for sergeant
0
136
Member Avatar for jools68

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 …

Member Avatar for venu@baylogic
0
169
Member Avatar for MidiMagic

>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? …

Member Avatar for Dave Sinkula
0
179
Member Avatar for StrongOak

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.

Member Avatar for MattEvans
0
288

The End.