5,727 Posted Topics

Member Avatar for vijaygandhi559

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 …

Member Avatar for vijaygandhi559
0
157
Member Avatar for michael.ngobeni
Member Avatar for vinod_javas

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.

Member Avatar for thekashyap
0
156
Member Avatar for DavidB

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.

Member Avatar for lasher511
0
139
Member Avatar for md_salman

it also makes the entire thing more transparent and easier to maintain overall.

Member Avatar for jwenting
0
80
Member Avatar for rdhiravani

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 …

Member Avatar for jwenting
0
4K
Member Avatar for yafa

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).

Member Avatar for mohdiftakhar
-1
102
Member Avatar for satish.paluvai

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 …

Member Avatar for jwenting
0
115
Member Avatar for satish.paluvai

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 …

Member Avatar for jwenting
0
96
Member Avatar for christina>you

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.

Member Avatar for ~s.o.s~
0
548
Member Avatar for satish.paluvai

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).

Member Avatar for jwenting
0
76
Member Avatar for soso30

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...

Member Avatar for jwenting
0
102
Member Avatar for saasbs

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).

Member Avatar for yafa
0
322
Member Avatar for joshSCH

[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 …

Member Avatar for Infarction
0
414
Member Avatar for jonamasa

You need to tell Eclipse where the jar files are too, or it won't know where to look for them.

Member Avatar for Ezzaral
0
187
Member Avatar for mattyd

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 …

Member Avatar for jbennet
0
395
Member Avatar for grussell

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 …

Member Avatar for masijade
0
316
Member Avatar for zaahar.hassan

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.

Member Avatar for jwenting
0
46
Member Avatar for sk8ndestroy14

[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.

Member Avatar for maravich12
0
541
Member Avatar for beckerc

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 …

Member Avatar for jwenting
0
74
Member Avatar for joshSCH

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 …

Member Avatar for Ezzaral
0
2K
Member Avatar for anoo36

don't. JSP can be a part of such a system, but never the sole technology used to implement it.

Member Avatar for jwenting
0
94
Member Avatar for sk8ndestroy14

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 …

Member Avatar for sk8ndestroy14
0
2K
Member Avatar for DyShaun

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.

Member Avatar for dewabo
0
146
Member Avatar for Electrohead
Member Avatar for dewabo
-1
809
Member Avatar for Mr.UNOwen
Member Avatar for Ghost

[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.

Member Avatar for masijade
0
436
Member Avatar for SpectateSwamp

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.

Member Avatar for joshSCH
0
824
Member Avatar for ovidiu61

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).

Member Avatar for ovidiu61
0
133
Member Avatar for hussulinux

SCREENshot, that's a recording of what's visible on the SCREEN. Something invisible will not be on one.

Member Avatar for ProgrammersTalk
0
80
Member Avatar for StandardsDT

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 …

Member Avatar for jwenting
0
93
Member Avatar for nizam147

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.

Member Avatar for jwenting
0
98
Member Avatar for fr3shman

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.

Member Avatar for jwenting
0
71
Member Avatar for mayank_03_arora

StringTokenizer is deprecated and should not be used. There are excellent alternatives. String has a split method, or you can use regular expressions.

Member Avatar for Ezzaral
-1
635
Member Avatar for Koteswar

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 …

Member Avatar for sj87
0
2K
Member Avatar for mawarzinnirah

or rather do all that in a servlet as JSP isn't intended for anything but displaying data.

Member Avatar for ~s.o.s~
0
116
Member Avatar for nizam147

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.

Member Avatar for nizam147
0
99
Member Avatar for akash_msrit

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.

Member Avatar for jwenting
0
97
Member Avatar for Acidburn

you can't call content from within the WEB-INF directory directly, only through forward calls made from servlets. Security.

Member Avatar for jwenting
0
70
Member Avatar for arunprashanth

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).

Member Avatar for jwenting
0
310
Member Avatar for arunprashanth
Member Avatar for jwenting
0
129
Member Avatar for push

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...

Member Avatar for suvitha_raj
0
73
Member Avatar for Duki

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).

Member Avatar for MidiMagic
0
907
Member Avatar for arunprashanth

The server can serialise sessions as needed, but you don't need to worry about that and shouldn't care.

Member Avatar for jwenting
0
82
Member Avatar for karthic_victory
Member Avatar for Ezzaral
0
148
Member Avatar for mrark

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.

Member Avatar for mrark
0
103
Member Avatar for chihwei
Member Avatar for dajiebuda

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.

Member Avatar for ProgrammersTalk
0
128
Member Avatar for darkfuria

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 …

Member Avatar for bumsfeld
0
237
Member Avatar for akash_msrit

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 …

Member Avatar for ~s.o.s~
0
112

The End.