5,727 Posted Topics
Re: By definition the smallest index in an array in Java is always 0 | |
Re: We're not here to help anyone with illegal activity. In fact I hope you get reported to law enforcement for trying to get people to help you commit a felony. | |
Re: it's up to you to write your queries, that's why you have SQL :) There's a ton of information available about connecting applets to serverside resources, what you can and cannot do. All you have to do is look for it, which you quite obviously have not done. | |
Re: the API docs come to mind. And no doubt you have had some lessons in how to implement tree structures and/or can find that information in your lecture notes or required reading list for your course else your teacher (not "professor", no university student would post questions like this, he'd … | |
Re: yes, he should do it. No, we won't do it. No, it's not urgent at all (at least for us, if it's for him he'd best hurry). No, it's got nothing to do with game development whatsoever. | |
Re: your code is wrong because you don't use code tags. Maybe if you did it would be correct, I don't bother checking. | |
Re: If you override equals() on a class, you MUST (even though the compiler doesn't enforce it) also override hashCode() on that same class. You may never notice if you don't, but under specific conditions (most especially when using instances of the class inside a HashMap or Hashtable) it is needed … | |
Re: You need a spanking, not a programming tutorial. What you want to do is a blatant violation of most websites' terms of service. | |
Re: [CODE]<c:if test="$model.value">[/CODE] | |
Re: what "is not good"? That amount of data is utterly ridiculous to plot in one graph, no library you're going to find is going to do well with it (and JFreeChart is probably the best one out there). Filter the data to a more reasonable few hundred points, and you'll … | |
Re: I know which "student" would get the lowest marks were I the teacher here... | |
Re: what's stopping you from writing it? We're not your coding service here, so don't expect us to do it. | |
Re: don't put business logic in JSP. don't create SQL statements like that, use PreparedStatement instead. the error message is quite clear, you're trying to insert an illegal date. | |
Re: use code tags. Don't try to squeeze everything into one big class. Read error messages carefully, they tell you what's wrong. | |
Re: Turbo C isn't even good for homework any more as it implements a standard that's 20 years out of date. | |
Re: no, we're not your coding service. Check the Calendar class. | |
Re: There's a mapping that maps that url to something else, maybe a servlet that generates the image. | |
Re: GWBasic is not a compiled language, neither is QBasic. | |
Re: book originates with Java 1.1 I think, but may have had superficial updates over the last decade or so (like changing a few version numbers). | |
Re: You will find ALL the details in the installation manual. AFAIK you will need at least Oracle 11gR2 though, not 9i. | |
Re: technically true. But you could keep a record of where the user has been and when trying to get to the previous (next in that case wouldn't ever happen) URL simply reload the page they're on. | |
Re: it's easy, they're making a mess of things. | |
Re: no, not for any price you are able to afford. And certainly not without a lot more information. | |
Re: and how would that ever work? I can name anything at all ".txt" even if it's not a ".txt" file (whatever that means), or I could have a ".txt" file that has a completely different name. You'll have to find some way to determine whether a file is a ".txt" … | |
Re: yes, if it's a computer performing certain key functions like a core router or DNS server it certainly can do so :) | |
Re: I've just installed a JDK and Visual Studio on all my machines :) No internet connection required. | |
Re: just look at the API docs for java.io :) The File class would be a good place to start. FileOutputStream etc. too. | |
Re: You apparently have no clue as to how iTunes works, as it works completely different from what you describe. | |
Re: Even with those tax breaks they'd still be among the highest taxed IT shops in the world. | |
Re: if it's a Nat Geo photo (published by them?) they most likely own the copyright, it's their standard contract when purchasing the publication rights, so it's not yours to sell. If you can sell it, check with your local professional photography organisation. Chamber of commerce should be able to get … | |
Re: there's never a reason to use finalize(), at least not until you know very well how it works and once you do you realise there's always a better way to do things. Finalize works on an instance of a class, if it works at all. Static members are not bound … | |
Re: the openConnection method doesn't read the content of the stream, it just opens the stream. So of course it doesn't wait for "the page to be loaded". | |
Re: well, you're not trying in that code :) | |
Re: check your bean classes etc., do they have the proper signatures (including required exceptions)? | |
Re: no one cares how long it took you to write. All they care about is how well it works and meets their requirements. As this seems to be a highly specialised piece of software for companies, just throwing it out on the web and hoping isn't going to work. You're … | |
Re: It's supposed to output that text to screen I assume. That's quite simple :) | |
Re: [QUOTE=cwarn23;1164261]It seems the policies on publishing tutorials on daniweb are very strict but is there any reason why they need to be unique (eg. SEO) It would be nice if daniweb had a wiki that everybody could contribute to.[/QUOTE] making sure Dani isn't violating any copyright laws would be one. | |
Re: open the file for append, not overwrite. | |
Re: start by writing a good design rather than randomly quoting some wild ideas and hacking code together. | |
Re: don't EVER try to put Java code in JSP. | |
Re: anyone opening up their smtp server for the world is just creating an open spam relay and soon finds their server blacklisted by the entire planet. So even if doing javamail inside a jsp were smart (it isn't) trying to use a public mail server you don't have explicit credentials … | |
The End.