5,727 Posted Topics
Re: Of course older compilers will implement older versions of the standard which are often at odds (in places) with later versions. So much for standards :) | |
Re: Haven't seen one in ages that required installation. Just unpack the archive and include the necessary jars in your classpath when needed. | |
Re: ask your teacher, that's what he's there for (and yes, we know your teacher is no good and doesn't want to listen to you, your books are bad, and you need teh codez urgent asap plz). | |
Re: Nope. The memory space for methods, like that for static members, is allocated only once as part of the Class instance associated with the class which is shared by all instances of that class through an implicit member reference. Of course some memory is allocated for each instance actually running … | |
Re: well, for one thing you're using an assignment operation where you're probably intending to use a comparison operation. And that comparison operation would also be incorrect as it's not the way to compare Strings in Java. [code] <c:choose> <c:when test="incidents.INC_STATUS == 'open'"> <option value="OPEN" selected="selected"/> <option value="CLOSED"/> </c:when> <c:otherwise> <option … | |
Re: he probably can't find the crack without someone giving him a torrent for it :) | |
Re: learn how to use them separately first before trying to combine different technologies you don't understand. A JTable has nothing to do with databases (though you can use it to display data that you retrieve from a database elsewhere). | |
Re: revenge on beginners or revenge of the beginners? | |
Re: and at that time, you should just try several and decide for yourself... Personally I think neither is all that good, but Eclipse is better than Netbeans overall (though for someone in the early stages of their journey through lalaland the only difference that really matters is the performance, as … ![]() | |
Re: Don't expect high pay, display a willingness to learn, and do whatever they tell you to do without an attitude of "that's not nice work, I don't want to do that". In fact don't even think about what they're going to pay you now, or at most do some calculations … | |
Re: not all homework involves writing code. These are typical homework questions, easily found in any halfway decent book or tutorial. We're not here to regurgitate the language basics to kids too lazy to look them up for themselves. | |
Re: look harder. If you had looked you'd have found plenty of examples. | |
Re: [QUOTE=Infarction;339842]No, it's exactly 1024. There is technically a difference between a megabyte (1000 MB = 1 GB) and a mebibyte (1024 MiB = 1 GiB), but that would make a much larger difference. I've had the same thing happen when I create partitions too, though, so it's probably something in … | |
Re: if you are incapable of reading the documentation that comes with the JDK (which will tell you how to compile something) and follow a basic tutorial (linked to from that documentation), what makes you think you can create anything in Java (let alone an IDE, a project usually involving dozens … | |
Re: You'll at the very least need Swing and some networking code. JavaMail and JAF (required by JavaMail) make working with email a lot easier though, you can get both from Sun. | |
Re: another thing comes to mind: it's almost certainly not VC++ that's the problem but the code itself :) | |
Re: got mine from wikipedia. They've links to some nice mp3 and midi files for famous tunes like God Save the Queen and Rule Britania. | |
Re: remove the compiled classes as well. Either find them by hand or do a clean build of the entire project. | |
Re: you won't, not initially. You'll get tons of crap and advertising instead, with a link to the Sun tutorial hidden among it somewhere. | |
Re: what is happening and what do you think should happen/do you want to happen? | |
Re: you don't want to do that (at least not in JSP). You want to use a servlet for that. You also want to read a beginner's tutorial on JDBC. You want to learn something about databases too. | |
Re: and? Where are you stuck? You look to be on the right track (except for the incorrect name for your class). | |
Re: start earlier on your homework next time. And don't you feel very stupid when you don't understand something you know to be "easy"? Or are you trying to trick people into doing your work for you by making them think it's "easy" when you think it's not? If you don't … | |
Re: Do NOT put ANYTHING in the lib/ext directory of your JRE or JDK. VERY VERY VERY bad! Instead set up your classpath properly, as indicated in the documentation of the JDK. JRE, appservers, etc. etc. etc. | |
Re: well, that's a nice idea, to write a tic tac toe game. Only been done a million times before so there should be a lot of information about it out there. And without you telling where your problems lie, how do you expect us to try and provide a solution … | |
Re: I've had bad luck with DVD writers myself. Only the third drive I got worked, the other two never worked at all (they were faulty right out of the box). Have the drive checked by the manufacturer or return it for a refund if possible and get one direct from … | |
Re: no, you can NOT mix Java and Javascript and expect it to work. Instead you will have to validate the values returned from the page on the server when you get them in your servlets. | |
Re: JSP is a display technology, it is NOT meant to contain business logic. | |
Re: You can't use EJBs in Tomcat as Tomcat is no EJB container. Setting your classpath to include j2ee.jar (which is indeed the one you need, if you insist on using an ancient version of the spec) isn't going to do a thing to change that. Not only wouldn't it work … | |
Re: set up your classpath properly, you're missing something (probably mail.jar and/or activation.jar). | |
Re: You don't. You create a new entity, and it takes care of its database access itself. | |
Re: try running a classfile instead of a sourcefile, and don't add the extension when doing so. | |
Re: read the manual, it should tell you everything you need to know. If not, search the web. There are bound to be people who have documented setting up WL to work with SQL Server. | |
Re: his attempt consisted entirely of condensing his homework assignment into a few lines of text that have little to do with each other and clicking the "post" button... | |
Re: and how would you ever incorporate something like that in plain text? text is text, unless you have some custom reader software that incorporates such capabilities and a custom document format that contains that information you're not going to get anywhere. And you can be certain that the criminals will … | |
Re: oh no, not another kid thinking he can invent a better wheel by making a new "framework" without understanding the underlying technologies inside and out. There are tons of such "frameworks" already, just pick one and stick with it. We don't need another "framework" that promotes doing things all the … | |
Re: you could start by writing normal English. Your tendency to skip every other letter makes your text hard for humans to read, if you do that in your sourcecode it makes it impossible for the compiler to read. | |
Re: 1) anywhere from a few seconds to a few minutes depending on what you have running in it, what hardware it's running on, and what the weather is in Timbuktu. 2) depends on the configuration, hot deployment is supported but needs to be turned on in the server config. Check … | |
Re: do your own homework. This is explained in pretty much any tutorial. | |
Re: you don't need anything you don't have on your LAN connection, but you may need to open some ports on your firewall (especially the port on which Tomcat is serving content over http, usually port 8080 with Tomcat though using port 80 is nicer as it's the standard for http). … | |
Re: both are old and deprecated though. Better use something modern like JAX-WS or JBoss Webservices. | |
Re: sigh... You really think that you can create a servlet engine out of thin air by creating an ODBC DSN (NOT DNS) that points to the classfiles of the servlets? | |
Re: java.sun.com has some good tutorials, as you should have known had you cared to look at the site at all. | |
Re: no, that's not the solution. You'd not have two applets in that case but one applet with 2 windows. There are several tutorials on intra-applet communication out there and I'm sure several books mentioning it as well. Do some research and you should figure it out. I've never needed applets … | |
Re: most likely an old java.exe, javaw.exe, and possibly javaws.exe got left behind somewhere in the windows installation directory or a subdirectory. Find and remove those. Also remove the new JDK and reinstall to a directory with no spaces in it, as it doesn't particularly like that. | |
Re: Haven't seen them in days past either. Could be because I block scripted ActiveX and I did get a few attempts to run those in the past few days. My popup killers didn't report blocking anything... And yes, I use IE as well (and have never had a spyware/trojan/whatever infestation … | |
Re: Weird port number, the default is 3700 (and probably not LDAP). The following settings are all that's AFAIK required: jvmarg value = "-Dorg.omg.CORBA.ORBInitialHost=${ORBhost}" jvmarg value = "-Dorg.omg.CORBA.ORBInitialPort=${ORBport}" (either as properties of environment settings). | |
Re: The only keyboards I'm comfortable with are the split ones, like Microsoft natural keyboards. All others give me pain in my shoulders and wrists after a while (usually a short while by now). The current 4000 model from Microsoft is excellent, best I've ever used. Comfortable, sensible feedback on pressing … |
The End.