5,727 Posted Topics
Re: don't use Vector unless you have to and remember that you don't have to unless you've no other option (like it's a required argument to some method). That's all you need to know. | |
Re: there's an entire internet full of documents out there, and you're too lazy to go out and find a few to use? | |
Re: don't put business logic in your JSP. Put it in a servlet instead and have that forward to a JSP for rendering the response to the client. | |
Re: You so realise there's no way to ensure an email address is real and "valid"? An address entered might be correct according to some rules for some email system but invalid for another. It might be valid for some system but not exist. It might be valid and exist but … | |
Re: look better. The file format specifications of most if not all major (and many minor) formats are freely available on the internet and not hard to find at all. If you're a reasonably competent programmer (if you're not you have no bussiness even attempting something like this) you should have … | |
Re: So put in a random number generator that decides whether the AI hits or misses. Draw a number between 0 and 1 (most random number generators produce a floating point number). If you want a 50% chance to hit, have it hit if the number drawn is >0.5, if you … | |
Re: Guess what kids, there is no secret whatsoever, no conspiracy, no nothing. The manufacturer uses references to bible sections as part of their serial numbers, nothing more or less. DoD should get the best possible gear for their people irrespective of what some atheists and muslims think. In fact, as … | |
Re: no, we're not here to do your homework for you. If you have specific questions, you can get specific help. But just dumping your homework assignments here and waiting for someone to do it all for you isn't going to work. It certainly won't teach you anything. | |
Re: yup, there's an error compiling your jsp. The server log should contain the actual compiler error, as indicated by the message. | |
Re: computer crime, banking fraud, identity theft, are on the rise and have been for years. | |
Re: Do you really think someone's going to come back after 4 years to hold your hand and do your work for you? | |
Re: doesn't do a whole lot... Just loads an image and transforms it into something the computer can display. As you would have figured out easily enough had you bothered to read the documentation for the classes involved. | |
![]() | Re: possibly. You're likely going to have to write some code to make it work, but no reason that should be impossible. |
Re: [QUOTE=rena0514;1132994]thanx that would mess up the entire program lol[/QUOTE] Well, commected out code won't give compiler errors :) | |
| |
Re: Even if it were legal (it won't be) it's A Very Bad Thing to do. It's as bad as installing the application server as part of the application installation. The application should set the availability of the application and database servers as an installation requirement, and make use of the … | |
Re: 3rd improvement: do away with all those static methods 4th improvement: learn and apply some OO design techniques | |
Re: [QUOTE=lyndon enero;1124453]hi can you give me a simple code of lucky 9 game plz[/QUOTE] No, we don't help homework kiddos. And crossposting homework kiddos who bring back zombie threads from the dead are even worse. | |
Re: nope. You'd have to create your own version that adds that support (or find a version that does). | |
Re: While cheap keyboards are available I never recommend them. Cheap keyboards have short MTBF (thus increasing the cost over time of using them) and are uncomfortable (often to the point of being bad for your health) to use (causing RSI). I used to replace my keyboard several times a year, … | |
Re: research Alexander Graham Bell. He made the biggest breakthrough at all :) | |
Re: [QUOTE=apegram;1119907]"Greenies" is not the preferred nomenclature. Environmentally-Conscious Americans, please.[/QUOTE] No, "greenies" is the correct term. It's a religion, nothing more or less. They're not "environmentally conscious" at all, they just go through the moves of buying their carbon credits in order to feel good. | |
Re: I'd say that was pretty accurate, except maybe the unhappy part (though he may be unhappy because of his ban) ;) And what's wrong with photography? 4 cameras too much for you (and an option on a 5th)? ;) | |
Re: and most of all: security Unless you work for a bank or creditcard company and in the department responsible for such software the best thing to do is to simply forget about it. | |
Re: use a binary format. Text is way too cumbersome for what you're trying to do. And you will want to have a separate file per table most likely, probably more files for indexing and stuff like that. | |
Re: Or you could pipe the output to a file and use some tool to analyse that file after you're done running the application. No modifications of your application code needed that way. | |
Re: Got to wonder how you're trying to create that file... I've created applications that have in time created millions of files, never had that happen. | |
Re: [QUOTE=alcay;1126489]so what do i do to start?[/QUOTE] go to school and get an education. | |
Re: [QUOTE=Narue;1115793][B]>Averagely speaking, I doubt that a person without skills at say >playing basketball, would put hard work and dedication to make >it to the NBA[/B] The NBA is very much a young person's arena. Of course you need talent to reach that level before age starts to take effect. I … | |
Re: don't use scriptlets. Move to jstl and I may take a look. | |
Re: You're missing a lot here. And without context it's impossible to help you along. Clearly you're lacking in your knowledge of application design, things like patterns and common sense. Your patient will need a field indicating what he's suffering from. Each medical condition will need to be part of some … | |
Re: [QUOTE=Salem;1123835]If your task was to design a system which was so easy to defraud, then you would be hard pushed to make it better than this. [/QUOTE] UN oil for food program comes to mind? | |
Re: [QUOTE=verruckt24;1125634]No, it isn't. It is more of an urban legend. Check the link given by jonsca.[/QUOTE] but something I'd love to do were I a teacher :) I know my old geography teacher had a habit of verifying stories like that, like if you claimed the train was late causing … | |
Re: You do realise that what you want to do is a violation of the law, and that asking for it here is violation of the terms of service of this site? | |
Re: [QUOTE=verruckt24;1125878]You have made a lot of syntactical mistakes here. [CODE] if (number % i == 0) return false; else return true; if (false); [/CODE] Do you really think the control will ever reach the line "if (false)" ? Also let's for a moment assume it does, will the control ever … | |
Re: First learn the difference between DOS, Windows, and Unix. | |
Re: use a hashmap with the words as keys and the counts as values. If you find a word in it, increase the count. If not, add it with a count of 1. | |
Re: And what did you learn by slavishly copying it? Nothing at all. | |
Re: Jave in fact does have multiple inheritance. It just doesn't have multiple inheritance of implementations. If Java didn't, classes could not implement more than one interface. And yes, check your attitude. | |
| |
Re: Probably an error in translation :) | |
Re: But don't overdo it. Comments should tell you WHAT the code does, not HOW it does it. | |
Re: best way would be to use web services or something similar, and have a process on the server retrieve the data. The mobile client asks that process for data, it retrieves it using jdbc, and sends it to the mobile client where it's presented. | |
Re: no, you're looking for a servlet. That servlet may use POI. JSPs should never interact directly with spreadsheets, databases, or any other business data. | |
Re: [QUOTE=Salem;1118428]> this is not homework but rather my work I'm shocked that someone with a programming job can't solve this trivial problem :-O[/QUOTE] I would be if I'd not long ago given up all hope that junior programmers have any skills whatsoever any more. All they seem to be able … | |
Re: That's a job for a servlet, not a jsp. The correct content type is the one registered with bodies like the w3c, not one that someone cooked up in his head because he thought it "sounds kewl". | |
Re: To use Java: 1) create a stored procedure in the database that schedules a bulk update batch and takes the data to be used as a parameter 2) use Java to call that stored procedure. That's how we do it here to drive bulk inserts through upload of data files … |
The End.