5,727 Posted Topics
Re: JavaMail is included in the J2EE API which Websphere application server implements. So yes, it knows it. It's just a question of setting up your classpath correctly for your editor/IDE to also know what you're talking about. The manual (which you'll have if you indeed bought Websphere Studio which you're … | |
Re: if you don't know you should really pick up one of the many excellent books and other sources of information about design patterns and learn a bit. | |
Re: The first two you mention are standalone full length movies. Exceedingly good movies that should really be in your collection. The third sounds like a compilation of fragments from the TV shows. If the bit you mentioned is on any of the three, it will be on that one. | |
Re: it also makes the entire thing more transparent and easier to maintain overall. | |
Re: nesting jarfiles isn't supported. There are some proposals to allow for it, but nothing has yet reached prototype stage. So at current the only way would indeed be to unpack the jars into one folder and repack them as a single archive. Better (usually) to just add them all separately … | |
Re: cheap lazy kid... Either learn a language to do it yourself or spend the money to hire someone to do it for you (or buy a commercially available solution). | |
Re: never assume a servlet's constructor will be called. In fact unless it's a no-args constructor it's guaranteed to not be called! Typically a servlet is instantiated once, when it is first needed, per member of a cluster (which means once for most people, as most people don't run their applications … | |
Re: only correct answer: because the language specification doesn't allow it. Why it doesn't allow it you should ask the people who invented the language, but better make sure you have a less silly reason for the question than "it was asked during an interview" because they'll be more likely to … | |
Re: got me a Nokia N70 last year. Nice phone, good sound to it and you can actually use it as a phone quite easily. Screen's a bit easy to scratch though. | |
Re: or read your courseware. It will contain descriptions of data structures, which should be enough to allow you to implement them (as the only reason to ever do this in Java is for a course in data structures). | |
Re: even if we were we'd not do his homework for him nor give him the intensive and extensive home tutoring he needs if he needs to learn everything he failed to learn during his course at school in under 2 weeks... | |
Re: yes, he's lazy. Doesn't even bother to write English, insists on using some sort of shorthand (probably thinking it makes him sound "kewl" or something silly). | |
Re: [QUOTE=Infarction;376850]Replace luck with research and effort. And being able to withstand the psychological impact of a loss. There are many successful traders who do quite well by having a developed system, not lots of luck points...[/QUOTE] all that research only enables you to make a slightly more educated guess. Nothing … | |
Re: You need to tell Eclipse where the jar files are too, or it won't know where to look for them. | |
Re: Some of the best, having a hard time defining a definite top 5. And yes, none of them is less than about a decade old (says something about the quality of music these days)... Pink Floyd - Dark Side Of The Moon The Beattles - Sergeant Pepper's Lonely Hearts Club … | |
Re: you need to use an overloaded version of toArray() which takes as argument an array to put the data in (if it fits). The usual way to use this version is as follows: criteria = (String[])tokenVector.toArray(new String[0]); which gives the function a zero-length array of String with the only purpose … | |
Re: so you're asked to do projects... Congratulations, and welcome to the real world. You could start by doing some research, then draw up some requirements, etc. etc. | |
Re: [QUOTE=sk8ndestroy14;385574]After a castle I always move one pawn up, otherwise I could get caught off guard and there's nothing I can do.[/QUOTE] that is usually a wise move but it does leave an opening for an opponent to exploit. It also makes you predictable, never a good thing. | |
Re: It all depends. If you have a program installed under DOS that can make calls to an HTTP server you can have that program call the server in which your servlet is running. Of course were you to be running a modern version of Windows instead of DOS (which was … | |
Re: I could tell you a lot about that, but can't because of contractual obligations. My work involves (among other things) maintaining a piece of software that generates analysis charts from streaming stockmarket information... We use our own systems for capturing (which I don't maintain), filtering/retrieving from the database/stream (which I … | |
Re: don't. JSP can be a part of such a system, but never the sole technology used to implement it. | |
Re: Schroedinger's cat is actually not dead and alive at the same time. You cannot know whether the cat is dead or alive without killing the cat at which point you know it's dead. That's the paradox (if it is one), that observation always influences that what's being observed. Similarly if … | |
Re: rather bad deal. Just got me a Toshiba with a Centrino Core Duo, 1GB RAM, and 120GB harddisk for €849 last week. Otherwise pretty similar config, 15.4" screen (large enough for most purposes). Given our prices it should cost something similar in dollars over in the US. | |
![]() | Re: looks pretty good actually. And no trouble with flash ads I see :) |
Re: for security reasons applets won't let you do that. | |
Re: [quote] Right now, I am not using a layout. [/quote] Bad! And wrong too! You're implicitly using a NullLayout, which you should never, ever use. | |
Re: well, if the OS does what it's supposed to do you shouldn't have to bother too much with it... It should effectively be transparent, enabling interaction with applications without being obviously there. | |
Re: yes. I have tons of ideas. And no, what you're thinking of doing isn't going to work (at least not in the way you probably think to do it). | |
Re: SCREENshot, that's a recording of what's visible on the SCREEN. Something invisible will not be on one. | |
Re: usually such things mean the replacement of a section of the exhaust system. If you're lucky all they need to do is weld on a new piece of pipe, which shouldn't cost too much. If they need to replace the entire muffler, think a few hundred Euro/dollar, all in, to … | |
Re: inter-application communication is NOT allowed and hasn't been for quite some time. The method you're trying to use is deprecated and has been changed several years ago to indeed return null. It used to prevent a MAJOR security problem and was for that reason disabled. | |
Re: well, before you start teaching Java you should certainly first learn it yourself... I've met teachers who were learning what they were teaching while they were teaching it (taking a course that ran a few lessons faster than the course they were teaching) and it wasn't quite smooth sailing. | |
Re: StringTokenizer is deprecated and should not be used. There are excellent alternatives. String has a split method, or you can use regular expressions. | |
Re: It's the hardware code returned from a keyboard. I used to have a mapping table somewhere but I doubt it would still be valid as it was for old XT keyboards (the ones with the function keys on the left side and no separate cursor keys). Here's an article from … | |
Re: or rather do all that in a servlet as JSP isn't intended for anything but displaying data. | |
Re: start your own threads, write PROPER English, and explain your problem rather than just posting your homework assignment and waiting for someone to do it for you. | |
Re: Use CSS to define the colours, then when generating the html use the data to determine which style to apply to the cell. Check out JSTL and CSS tutorials on how to do those things. | |
Re: you can't call content from within the WEB-INF directory directly, only through forward calls made from servlets. Security. | |
Re: yes, it is possible. You need to find and edit the configuration file where the http port value is defined which is \server\default\deploy\jbossweb-tomcat55.sar\server.xml (or \all\ or whatever if you're running a different server config from the default one). | |
| |
Re: Eclipse is just an editor. You don't do anything different in your programming than you would using any other editor... And it comes with documentation... | |
Re: excellent. No more excuses for pirates to continue their crimes in impunity. These guys are service providers and therefore should fall under the same requirements as ISPs (and those ARE required to track users if there's a court order telling them to). | |
Re: The server can serialise sessions as needed, but you don't need to worry about that and shouldn't care. | |
Re: Sun has excellent tutorials on their site, quite clearly visible. | |
Re: no, you're beyond help... :( You do take care to actually remember what the first input was, do you? Or more likely you don't but should. | |
Re: but don't go that way. Learn about proper Object Oriented design rather than trying to use Java as if it were a procedural language. | |
Re: and we hate kids who are too lazy to pay attention in class and do their own homework. If you don't want to learn, why should we cover for you and possibly end up having to cover for you at work because you'd no doubt not want to work either … | |
Re: Ajax won't do anything database related as it's purely a clientside technology... It will however interface with serverside components in other languages that can do things with databases... And no, php and Perl are not viable alternatives to Java. php is terrible, spaghetti code galore. Perl is write-only code. Both … |
The End.