5,727 Posted Topics

Member Avatar for tech291083

but only if you don't count the millions Indians working in body shops hacking together software for offshoring companies.

Member Avatar for linux
0
95
Member Avatar for jbennet

[QUOTE=happygeek;318252]At 17 I was cleaning toilets in a large London hospital, because it was better than being on the dole (unemployed.) Within 6 months I had moved to the warehouse at the hospital, and within another 3 months I was the surgical supplies buyer. Which just goes to show that …

Member Avatar for jbennet
0
139
Member Avatar for aruna_k_2006
Member Avatar for Prajijithesh

if he knew that he might know what he wanted to know so he'd no longer need to try and ask it ;)

Member Avatar for jwenting
0
90
Member Avatar for Venks

If your application gets less CPU cycles it might become more sluggish. The sleep time is defined as the [b]minimum[/b] time the thread will sleep, not an exact time. If another application eats most of your CPU, the one you're monitoring may not get enough of a timeslice to hit …

Member Avatar for jwenting
0
84
Member Avatar for peter_budo

hmm, the blatantly obvious: check whether the method actually exists in the same class you're calling it from. And of course rename RenameImage to renameImage.

Member Avatar for peter_budo
0
118
Member Avatar for engr_shoaibsafi

follow some English language classes so you can understand the information you are able to find after the second stage. That is: Follow an introductory course on the use of internet search engines.

Member Avatar for engr_shoaibsafi
0
298
Member Avatar for Monyet

WHAT can't you do? Either you don't know what you're trying to do or you can't explain it to someone else.

Member Avatar for MacGyver Orca
0
135
Member Avatar for srinath33
Member Avatar for cms271828

no, he's looking for something like the functionality Photoshop has to turn a sequence of images into a movie. Of course Photoshop doesn't use anything like that framerate, as it's purely meant for presentation purposes so it will take a number of seconds per frame rather than frames per second. …

Member Avatar for jwenting
0
78
Member Avatar for vasudha k

That's illegal SQL if you want to set only a subset of the fields (which you want, as you aren't setting the PK field). You have to supply the actual fields you're setting as well, and in the correct order.

Member Avatar for vasudha k
1
111
Member Avatar for im4tion

There are programs that can translate from one language to another, but they're imperfect. They also cannot translate from programming paradigms in one language to those in another, which leaves you with very weird looking code that's a dead giveaway as having been generated by such a tool. Almost always …

Member Avatar for Infarction
0
156
Member Avatar for nschessnerd

dump the .newInstance(), it's superfluous. Without knowing the actual error the cause of the problem will always remain guesswork. But most likely you either don't have the correct driver or the database doesn't allow you to connect.

Member Avatar for nschessnerd
0
124
Member Avatar for shazzy

It seems he downloaded something that he wants to turn in as his homework but he doesn't know what that homework actually is and on top of that all interpunction on his keyboard somehow failed at the same time just as he was typing that message

Member Avatar for iamthwee
0
78
Member Avatar for kalaiselvi.v

Why is it that you want to write your own when Java has a rather good random number generator built in?

Member Avatar for jwenting
0
72
Member Avatar for aruna_k_2006
Member Avatar for Tauren
Member Avatar for Phaelax
0
147
Member Avatar for goofa

Technically you'd need to have something else do that. You can't loop the entire program from within the program, for what would loop the loop? So you'd need either some sort of wrapper around it that's not part of the program, or put the entire thing into a task scheduler …

Member Avatar for peter_budo
0
113
Member Avatar for ryy705

start small, learn the individual technologies and see what their strengths and weaknesses are, then combine the strengths so you aren't bothered by the weaknesses ;) In reality noone talks about "beans", they're just objects you use to pass data along. That doesn't mean noone uses them, but they're so …

Member Avatar for ryy705
0
92
Member Avatar for nisrin
Member Avatar for Doops

The string you get back from the session is null, so your attempt to call toString() on it results in an NPE. You should really use JSTL as well. Something like [code] <c:choose> <c:when test="not empty session.loggedUser"> ... </c:when> <c:otherwise> ... </c:otherwise> </c:choose> [/code] Makes it immediately apparent what you're …

Member Avatar for jwenting
0
98
Member Avatar for talablink

Easiest (and fastest) is to use regular expressions to replace all uppercase letters with an asterisk, then call toUppercase() on the resulting string. Far more elegant (and possibly faster, especially with long strings) than looping through every character.

Member Avatar for jwenting
0
317
Member Avatar for vinod_javas

That's correct. You fell into the well known trap of starting a longrunning operation from the AWT eventhandler thread. Start it from another thread and pass it a reference to the label.

Member Avatar for vinod_javas
0
150
Member Avatar for jbennet

I've been terrified of injection needles since I was about 6 years old. I needed a lot of blood tests at that time (I was rather sickly as a child), and at several occasions the lab tech made mistakes causing severe pain (jabbing in the needle and digging around for …

Member Avatar for maui_mallard
0
243
Member Avatar for rpjanaka

the page loaded into the iframe is a completely separate entity, and has nothing to do with the page in the main frame. While they can communicate using cookies and Javascript, that's not recommended (just as the use of iframes is not recommended, and in fact in the latest html …

Member Avatar for jwenting
0
193
Member Avatar for LSPUWILLC
Member Avatar for jwenting
0
162
Member Avatar for rpjanaka

I've seen some cases where it makes sense. Mainly it would be one form that's completely made up of hidden components and is sent with background requests to generate on-demand content that's not shown when the page is first generated, and another with visible components that the user can actually …

Member Avatar for jwenting
0
68
Member Avatar for arjunsasidharan
Member Avatar for magkii

So far I'm hosting everything myself. At work we do the same (in fact we are a webhost for several customers). Works well, total control over everything. And of course no pesky flashing adbanners destroying the look of your site.

Member Avatar for Gmarvz
0
202
Member Avatar for nehashri

if you need to justify your decision not to use the bridge driver, read the documentation that comes with the JDK. It contains an excellent reason. There are of course many more, but that one alone should be sufficient for anyone.

Member Avatar for nehashri
0
161
Member Avatar for Tauren
Member Avatar for aruna_k_2006

you do however need to deploy them as part of a valid web application which DOES require at least a basic web.xml and the correct directory structure. Tomcat comes with quite good documentation and examples.

Member Avatar for jwenting
0
92
Member Avatar for kimbokasteniv

You really need to read a modern beginner's tutorial on Java and an introductory text on regular expressions if you can't answer those questions. They're so basic any ultimate beginner's text should explain them. By indicating you don't know what it is, you indicate you lack even basic knowledge, which …

Member Avatar for jwenting
0
132
Member Avatar for peter_budo

Don't try to force your design into a single layoutmanager. Layer your layout. You could for example place a panel in the region of the gridbag that you want those two components to appear, set that to gridlayout, and place the components in the cells of that grid. These cells …

Member Avatar for peter_budo
0
110
Member Avatar for MacGyver Orca

try something like a search engine. Or a book on probability theory. And why don't you want to use the built-in random number generator? That very fact tells me that it IS in fact homework, as every realistic project first tries to find an existing component to do something like …

Member Avatar for MacGyver Orca
0
81
Member Avatar for Gex

has education really gotten so bad over the last decade that EVERY single "student" has only bad teachers? Somehow I can't believe that, more likely the teachers are just as good but the students have gotten worse (a phenomenon I observed when I was a senior student, and seems to …

Member Avatar for jwenting
0
118
Member Avatar for skrish79

What exactly do you have trouble with? We're not here to write your program for you, only to help you with specific questions about details where you're stuck.

Member Avatar for linux
0
96
Member Avatar for dami06
Re: Gui

[QUOTE=iamthwee;309537]Why not use netbeans GUI builder?[/QUOTE] because then you never learn to do it yourself, let alone do it properly.

Member Avatar for iamthwee
0
113
Member Avatar for xtrasponge

what do you think will happen? Have you even tried it? And no, we're not going to read your assignment that you attached as a word document. If something doesn't work as you think it should, tell us what it does, what it should do, and we may be able …

Member Avatar for jwenting
0
118
Member Avatar for lai_flipper

at least he didn't forget the 'e' in 'help', got to give him credit for that ;)

Member Avatar for jwenting
0
46
Member Avatar for mattyd

It's just another overcommercialised thing. 20 years ago it was a time when people sent anonymous cards and gifts to secret loves, now it's a time when men are supposed to flatter their wifes and girlfriends with expensive gifts to show that they do indeed love them. It's therefore effectively …

Member Avatar for mattyd
0
291
Member Avatar for jclethiec

You might want to upgrade to a more modern SOAP layer, like Axis 2 or JSWDP 2.1, which are FAR faster than the one you're using. If the problem is indeed internal in the SOAP layer (and not caused by network latency) that should help. Mind that this can cause …

Member Avatar for jwenting
0
75
Member Avatar for azad49
Re: Jsp

You don't. Use a proper architecture and let a servlet handle the actual login (or better yet, have a servlet let some business logic component like an EJB handle it) and just forward the results to the JSP. It becomes a simple matter of some JDBC code (best hidden behind …

Member Avatar for jwenting
0
71
Member Avatar for toddwitherow

Way too little data to make any kind of estimate. It depends on the size and scope of the application, what you want to new application to do and look like (web app, terminal application, client/server solution, etc. etc.), what mainframe you're thinking of, what database engine(s), etc. But it …

Member Avatar for jwenting
0
89
Member Avatar for George2
Member Avatar for jwenting
0
129
Member Avatar for kartheeswari_b
Member Avatar for jwenting
0
116
Member Avatar for abhinav.sharma
Member Avatar for tcepser

yup. A PC with a wireless card AND a normal card acting as a bridge.

Member Avatar for ttp
0
87
Member Avatar for Mushy-pea

those idiots still at it? They've been saying at least once a year for the last decade that humanity (meaning the USA) is on the brink of destroying the world. They're a bunch of far left loonies, noone but the equally far left press takes them seriously.

Member Avatar for mattyd
0
210
Member Avatar for hanifa

The End.