5,727 Posted Topics
Re: The answer is written just a few lines up. And don't reopen ancient threads, especially ones that have been completed. | |
Re: or rather of no portion of the population at all as the people living there that long ago died out before the current "native americans" arrived from Asia (probably following the Aleutans from Japan) a few hundred years at most before Columbus... | |
Re: yes it can. It's not a game but a simulation. A few 2D arrays are all you need (plus of course a logic engine and a loop). ![]() | |
Re: ever heard of the Date class? Or the Calendar class? | |
Re: [QUOTE=TheNNS;387818]how many casual users hav 2gb ram in their computer?[/QUOTE] me. And thinking of upping it to 4... | |
Re: [QUOTE=~s.o.s~;386500]> I'm not allowed to play multiple MMOs? Drats, how come you people manage to find that kind of time? [/QUOTE] multitasking :) | |
Re: in fact some JSP compilers will reject that code because it's so bad :) | |
Re: [quote]"This has been the most powerful bomb exploded to date," stated nuclear weapons expert Noah Cain, "and capable of destroying the entire state of Rhode Island."[/quote] please do, would make the world a better place :) [quote]Preliminary estimates put the explosive power of the nuclear bomb at 10,000 that of … | |
Re: write sensible English and maybe people will actually understand your question. A semi-random collection of words does NOT a sentence make. | |
Re: the best cartoons were NOT the 1980s. They were the 1940s to 1960s (maybe early 1970s). Tom and Jerry, Roadrunner, that era. | |
Re: to start with, avoid anything that's "for dummies" or "in 24 hours" and things like that. Those books give a highlevel overview and not much more, they're generally a waste of money (there are exceptions but they're few and far between). Can't help you with specific titles as I only … | |
Re: spam without an attempt to lead you to a place where they either sell you some snake oil or try to steal you credit card details? Would be the most inefficient spam in history ;) anyway, an electric toothbrush doesn't transmit electricity (or receive it) through thin air. It's got … | |
Re: I have to second Ubuntu. First ever distro for me that installed without months of having to constantly tweak things only to end up with a system that still worked only partially. Only downside is that it takes up a lot of diskspace, the 4GB disk in my laptop is … | |
![]() | |
Re: You don't want to keep that much data in memory... Use a SAX parser for large amounts of data, as it doesn't need to retain the data in between operations. | |
Re: the files themselves aren't stored in the session, only references to the objects containing them are. You could of course run out of server memory causing the server to crash. More likely you're just running into timeouts causing the browser to think the server isn't there. | |
Re: Do you also tell the system that it's a JSP rather than plain old html with a funky namespace line? | |
Re: there are tons of ideas out there, most of them implemented already (or being implemented). The idea here is that you come up with your own idea... | |
Re: [QUOTE=jbennet;381624]Im pretty sure 9/11 was real because 7/7 was real (i know people who were there)[/QUOTE] oh, it's real alright. but the conspiracy theorists say it's not Al Qaeda that did it but Bush... They also claim the CIA was responsible for 7/7 as well as the Madrid bombings (why … | |
Re: no, that wouldn't matter one bit (unless MAYBE they're all primitives). And when the time almost inevitably comes that that class is used in a multithreaded environment it's far easier to get it threadsafe if there are no or very few instance variables (and especially statics). | |
Re: wihch means that it's not doing what it should as those are different conditions which should yield different results (unless both return no results, which is a possibility). The fact that they're yielding the same results indicates something seriously wrong with your database. | |
Re: hehe. O'Reilly books... yah, nice coverdrawings them ;) As I've not studied C++ nor (introductory) Java in some years I can't suggest Java books that are similar to C++ books. But here's a list to get you started: - Head First Java, 2nd Edition - Effective Java (not O'Reilly) - … | |
Re: yes, you can cram the information into your head in a few weeks. BUT if you do that you won't actually know any of it, you'll have shortterm retention just long enough to pass the exam. And without practical experience to back it up that knowledge is worthless anyway, possibly … | |
Re: [QUOTE=jbennet;377969]Bebo is better than myspace[/QUOTE] and the Onion beats them both :) | |
Re: Would love to but it's just too expensive. I've already got an invitation to DC for September and 2 trips to the US in a year are more than I can afford (in both time and especially money). Living in Europe a flight to the US and back costs something … | |
Re: and everything is a reference, except primitives. Just not references in the C++ meaning of the word :) Java is ALWAYS pass by value. When you're passing a reference you're passing a reference by value. So the following does NOT have any effect in Java: [code] public void swap(int a, … | |
Re: [QUOTE=jbennet;377975]better h/w support. Vista out of the box detected every piece of hardware I havever owned. XP needed drivers for everything[/QUOTE] unfair comparison. Out of the box XP had drivers for most any hardware available when it went Gold as well, it's just that in the last 5 years (yes, … | |
Re: do your own homework kiddo. and don't go around reviving long dead threads. | |
Re: The DOM API has methods for retrieving sets of child elements from an element given that elements tag name. You can also retrieve the values of attributes by attribute name. Using those and given knowledge about the structure of the XML you can address any node/element in the parsed Document. … | |
Re: "This makes is slower than unmanaged languages such as C++ but the .NET framework enables you to do complex things quite easialy." Not necessarilly. The idea that a managed language will ALWAYS produce slower runtime performance compared to a natively compiled language is proven false. A lot depends on the … | |
Re: "So you think you're a great dancer? #1 " uh, no :) | |
Re: and why's he using NB 4.1? 5.5 is available and 6.0 in beta. | |
Re: Take Sun's SL-275 course, which is pretty much geared towards people making the transition from another language to Java. After that, read Effective Java, the Java Language Specification, and other mid-high end Java texts like Java Concurrency in practice (though that might be over your head for a while), Java … | |
Re: and it would not be a TSR. That name is specific to a category of DOS programs that would load and stay in the background. | |
Re: request.getParameter("someparameter") comes to mind. Executed in a servlet of course, not a JSP. | |
Re: And as always the level of work required to port between compilers depends on the amount of code you write that's dependent on compiler specific functionality and libraries rather than on the compilers themselves. And yes, it's good for games. But given your level of understanding you're not. | |
Re: Seems like a pretty well predigested assignment, you shouldn't have any trouble implementing that. Even if you're braindead and can't think much for yourself you should find it pretty easy to do by just following the instructions to the letter, no independent thinking required. | |
Re: You can't, period. When you refresh the page you place another request for the exact same page, which means you get the state of the page before you selected that item. | |
Re: first find out how to print things. next find 15 prime numbers (that's easy, there's sure to be lists of the thing, so no need to calculate them). Combine the two and you have your solution. | |
Re: you don't need anything like that. You need either a good book on JSP to tell you what you do need or a good spanking if you have that good book and choose to ignore its teachings. You do NOT use scriptlets in JSP. | |
Re: and don't use scriptlet code in JSP (which would be required for what you're planning to do). and don't insult us all by claiming your "problem" is so important that the entire world should drop whatever they're doing and help you instantly. Your problem is NOT urgent, and if there … | |
Re: best guess is that the kid wants a commercial IDE without paying for it (so piracy) and doesn't know the difference between an IDE and a compiler... ![]() | |
Re: rather disturbingly though he named his class "test" rather than "Test" and forgot to use a proper package structure (the latter can be excused as it's often omitted from beginners' tutorials, a serious omission). It should still compile though, leading to a file test.class next to the file test.java which … | |
Re: well, that would be the problem... ANT sets up its own classpath for each task, disregarding (as any serious Java application does) the system classpath completely. So if you don't tell ANT to use that jar, it won't use it and not find any classes in it. | |
Re: correct. And she's placed in a special area of the prison to avoid problems with other inmates, not to pamper her. Putting her in with anonymous ruffians would create problems for prison staff, potentially dangerous situations they would like to avoid. It's no different from putting child molesters in a … | |
Re: well, everything you need to create your own charting library is right there in the core class libraries. But why go to the trouble (unless of course it's a homework assignment you want to trick us into doing for you) of doing that when there are perfectly good components available? | |
Re: don't connect to the database from JSP. Do it from servlets. And to install the driver, follow the installation instructions. | |
Re: he could never have had the business success Bill Gates had. Even if he had a decent product (Gates needed quite some effort to turn it into DOS) he lacked the business savviness that helped Gates make Microsoft into the successstory it has become. Most likely had he sold to … |
The End.