5,727 Posted Topics
Re: remember always: JavaScript is NOT Java. | |
Re: read the documentation. And remember that in Java (as in all C inspired languages) indices are 0-based (and yes, there are some discrepancies in that, in Java as elsewhere). | |
Re: yes, you are legally bound to what you agreed to. It doesn't matter who clicked that button, by clicking it that account was linked to that contract. If the contract holder allows others to use that account the contract holder is still the one who holds the contract and has … | |
Re: not in JSP, so the question has no place here. And if you don't know String concatenation you shouldn't be dabbling in either database or web application programming. | |
Re: XE supports a single database, which the installer creates. That's the main limitation of the product, as is very well documented. If you want more capabilities, you need the full Oracle 10g (or 11g) product, which is available for sale (or for qualifying people for free for test/eval/development purposes). | |
Re: check the JavaDoc, it will enlighten you. | |
Re: no, we're not going to try to make sense of a mess of unformatted code. And no, we're not going to fix your mistakes for you. Ask specific questions about specific errors, showing the actual errors, and we may provide you with hints as to their solutions. | |
Re: when a class reaches 100 lines of code you should hear alarm bells going off in your head. It's getting way too large, too complex, and probably has way too many responsibilities. | |
Re: I don't see the urgency here. Haven't felt the need to use an applet for a decade. | |
Re: In India many companies are still under the impression that having tons of certifications and no experience is better than having experience but no certifications. In the rest of the world people know better, know that certifications are no guarantee for knowledge. What you should start doing is evaluate WHY … | |
Re: create a servlet that fills some memory structure (most likely a Map) with the data needed to create the rows of the dropdown, and in the JSP use a JSTL <forEach> tag to create the option elements. | |
Re: I will settle for 24 hours without pain and without irrate customers. | |
Re: on the radio here someone joked a few weeks ago that PETA would get quite upset on hearing that a woman shaved her pussy... | |
Re: how often do we have to tell you kids to NOT do database access from JSP? | |
Re: uh, no. that's your job, we're not here to do your homework for you. | |
Re: read the installation instructions carefully and be sure to understand them before you try anything. After that do a trial run on some local server on your own machine to make sure it works. That's all :) | |
Re: [quote]Christianity, and almost all religions for that matter, suck tons of cash from its members.. [/quote] The Catholic church in the town I come from is so poor they can't even afford a priest. They share a priest with several other parishes, he visits one of them each week. The … | |
Re: yup. At least 2 ways. 1) generate a bitmap using something like JFreeChart from a servlet that you link to through an image tag. 2) generate it as text using some CSS magic to make it look nice. | |
Re: don't use scriptlets, don't put business logic in JSP, don't use Access as a database, use code tags | |
Re: The <jsp:include tag includes the runtime result of executing another JSP into the one it's contained in. As your page is a static page, not a JSP, it won't compile to a Java servlet, which is what the error indicates. Make it a JSP and try again. | |
Re: says it all, you're trying to cast something to something else that it can't be cast to. | |
Re: I usually just drop a very large nuke on them, turning them into parking lots :) | |
Re: set up a KeyListener to it which refuses to allow anything you don't want. | |
Re: by using a proper character set. | |
Re: says it all really... It can't find "COM1" using the Solaris classes (which is hardly surprising). It also can't the Windows classes, which is also hardly surprising if you didn't install them. | |
Re: there isn't, and there shouldn't be, as such things are NOT things you do in a JSP. Javascript maybe, servlets certainly, but not JSP. | |
Re: if you're a C++ programmer the concepts and syntax should already be familiar to you. They're quite similar to C++ (though there are differences in implementation). | |
Re: bad package names. unformatted code. and what do you think is wrong? | |
| |
Re: and another idiot insisting on using Java code in JSP. And rude too, expecting people to open potentially dangerous attachments and read their content, taking a lot of time. | |
Re: nope. No such thing exists. If there was a "best for everything" compression algorithm no others would exist. The very fact that other algorithms do exist and are used proves that there is no "best for everything". This is a generally true statement. And even if there was, we'd not … | |
Re: The exact "tools" you learn in school are utterly irrelevant for getting a job as a programmer. A green as grass junior grasshopper programmer like you'll be is expected to know exactly NOTHING of value when starting his first job, except knowing how to keep his mouth shut and do … | |
Re: Out of state mailorder purchases in the US are not subject to salestax. Online purchases at the moment count as mailorder (there are plans to change that). The seller of course has to declare his income from the purchase towards his income taxes (there may be a lower limit for … | |
Re: BoxLayout will stretch to the size of the largest component in it. All layout managers generally behave like that (or similar). | |
Re: Redo from start. Not urgent. Rubbish code. | |
Re: nope, not in XP :) Restarting the system hasn't been required since Windows 98. Merely restart the console session. | |
Re: It may finally do something about the increasing dominance of Google over all aspects of the internet... At the moment neither Microsoft nor Yahoo has the power to challenge Google when it comes to online services (except possibly email), this deal should level the playing field in at least some … | |
Re: which you use depends on how many buttons you have and how reusable you want your code to be :) Personally I prefer a distinct method per control and a distinct ActionListener per control. Makes it a lot easier to share them between controls that do the same thing (say … | |
Re: that's not JSP, that's what we wrote in servlets around 1998 and quit writing when JSP 0.9 came around a year later. Noone in his right mind does things like that any more. | |
Re: tell your team leader that you lied when you applied for the job, that you're incapable of doing the work assigned to you, and that you want to be fired on the spot and hope they won't sue you for fraud. | |
Re: think about it. If all object instances were created at compile time, how could you ever create a program that deals with information the amount of which is not known at compile time? | |
Re: by doing your own homework and not thinking that by sleeping in class, not reading your books, and asking others to do your assignments for you you can learn something. Any book on Java, any tutorial that covers command line programs (which will be most of all beginners' tutorials), any … | |
Re: Most likely your html is not valid, and IE and FF deal with those errors differently, with IE being more successful at it than FF. | |
Re: do your own homework, kiddo. If anyone were to send you something you'd have "taken it from internet" anyway, so you fail. Of course lazy kiddos like you deserve nothing short of dismal failure. |
The End.