4,084 Posted Topics
Re: what problem are you having with it? and no, this is not code-on-demand. | |
Re: inbuilt in what? | |
Re: also: the use of static. just because it is written in a class, doesn't mean you have an object when you use it. | |
Re: as Taywin already said: "there is no command or functionality like that in the language" | |
Re: you are asking in the wrong forum. for jsp, there is a separate [jsp forum](http://www.daniweb.com/web-development/jsp/24). also: you are trying to mix javascript (not java) with html, which is not really java/jsp related, maybe you should consider posting it in the [Javascript forum](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117) | |
Re: dstoltz: also, don't forget to check whether that does actually fully covers you. all they need is a loophole or whatever to "bring down the house" with you in it. for all we know there 's some little line in some obscure law stating that you, outside of informing your … | |
Re: hmmm ... this link says it all for over here: http://cdn.memegenerator.net/instances/400x/24161756.jpg | |
Re: don't just post your assignment here. start of with what you've already done. | |
Re: you are not looping over this line: int i = st.executeUpdate("insert into projtaskallocate (pid,uname,ptdesc_emp,ptestd_time_alloc,ptask_emp_cmnt) values ('" +Projid+ "','" +Projuname+"','" +Projdesc_emp+ "','" +Projestd_time_alloc+ "','" +Projtask_emp_comment+ "')"); so it's clear why it only inserts one row. | |
Re: Slavi: according to the original post, (s)he is not looking for a compiler (nor an IDE), but is trying to write/create one. actually, is asking us to create it, so (s)he can hand it in as his/her solution to an assignment. | |
Re: > Linkedlist program doesn't work can you be a bit more specific abou the "doesn't work" part? does it compile? do you get compile time exceptions? does it run? do you get runtime exceptions? does it run but produces unexpected results? what do you expect, and what do you get? | |
Re: well ... it is possible that the configuration is different depending on from where you call it. have you debugged your code and checked whether or not all the information you need to provide is available when running it from run? also: catch(Exception ex) { } is about the worst … | |
Re: you didn't ask a question. String is immutable, but it's soo often used, that having complete new instances in the memory would be a huge drain on the resources of your system. in your memory there is also a String pool, used to group all instances of a String currently … | |
Re: also: you can't use rno as a parameter since it has no value. local variables don't get default values. | |
Re: interfaces aren't used to make complications. actually, they make working on your project a lot easier. if you don't understand why developers write to interfaces rather then to implementations, you haven't worked on very large projects yet. let's say you have to write the front-end for an application, and you … ![]() | |
![]() | ![]() |
Re: you have somewhere in your code an instance you're using (calling a method on or passing as a parameter) before it is instantiated, meaning it's still null, but the part of the stacktrace you post isn't enough to see where in your class it's happening. read the entire stacktrace until … | |
Re: Mrs. Doubtfire | |
Re: because Java is a language with it's own syntax. the way you suggest wouldn't compile. neither would the first, btw, you need to add a ';' Run obj = new Run; if this was valid, what if your class had two constructors? the jvm needs to know what it is … | |
Re: * read the lines in as a set. * iterate over the set * use the split method of String to separate the tokens * cast the tokens (if need be) and pass them as arguments to a constructor | |
Re: why would you need an interface? also: > Hello! I'm new to programming and I'm trying to do a basic hotel application using threads in java. what has this to do with threads? | |
Re: what is columns? where is this called? do you get an error? do you get a stacktrace? do you get an unexpected result? did you debug? or at least, add some print statements to see what ColumnName values are added? what is the input? what is the actual result? can … | |
Re: by just uploading a source code file, it won't become anything else but a source code file. what you want to do is build your application into a war and deploy it on one of the Java containers Peter mentioned. | |
Re: bharatgs7: then don't use a local server. a few "fun facts": 1. you wrote the code for a client 2. this implies the code is property of the client, not you, and you may not secure/alter/adjust/... it in any way, without explicit permission of your client. 3. I would agree … | |
Re: how about [the official Java tutorials](http://docs.oracle.com/javase/tutorial/)? | |
Re: exactly the way JamesCherrill explained. but maybe you misunderstood him. can you post the code you use? maybe we'll find a logical error in there. | |
Re: you write the code that does so. if your code fails, you post it here, and say what you're stuck with. Prabhat_1: no doubt you meant well, but there are several reasons you shouldn't just post code here. the rules each member here agreed on ( http://www.daniweb.com/community/rules ) requires us … | |
Re: take courses, build up your experience. 'some html' won't get you far. start learning HTML5, the latest css, .... and understand that a lot of companies are using other languages/frameworks for their applications. the one web developer isn't the other. start building a 'portfolio' of sites you've created, preferably with … | |
Re: Not to mention somebody posted this exact assignment not even a week ago. let me guess: you got too many bad critiques and signed up under a new user name? | |
Re: yes. it's by far the best series of books I've encountered for those certifications. Oracle changed the name of the certification, not the contents. of course, if you 'll go for the Java 7 exam, you should also look into the new material, but for Java 6 exam, that book … | |
Re: and what exactly is the problem you are having? | |
Re: also, this thread is 3 years old. if he still didn't found it, I'm pretty sure he isn't looking anymore. | |
Re: with "I need your help", do you mean "please do this for me"? we won't. jsp & servlets programming is no brain surgery for two major reasons: 1. its not as difficult 2. if you make a mistake in your code, and have to re-do a bit, nobody dies everyone … | |
Re: ehm ... what exactly is the point? what is it (not) doing? are you getting an error? an unexpected result? | |
Re: check [this](http://stackoverflow.com/questions/7457477/stored-procedures-as-queries-callablestatement-vs-preparedstatement) | |
Re: and if you copy paste your assignment, make sure you have the correct one. there's no such thing as a "string value" (case sensitive and such) | |
Re: ashish: don't hijack dead threads. | |
Re: don't just copy paste your homework here. what do you think they are? we'll help you improve your knowledge by correcting you, or by giving additional explanation if you don't understand it, doesn't mean we'll just do your homework for you | |
Re: doesn't really make sense to me. without 'enrolling' you can have an account. what I assume you mean is: you want a project there, for which you want to gather 8.000 Rs. but who shouldn't enroll? you? of course you need to, otherwise you can't manage the action. those who … | |
Re: ishaan: you're explanation is either too vague, or incorrect. the way you explain it, building that first building would not be instantiating. | |
Re: Jan.sehona.1 > both conditions must be satisfied for a person to ride? yes, both must be satisfied, otherwise they wouldn't have used the word 'and'. | |
Re: rubberman, I don't think he's talking about code, rather about the concept. | |
Re: > Please help me run this program.The projects documentation doesnt describe any method to run it thats why i am asking for help. this line alone proves that you have no idea about how to use such an application. need one for an assignment? learn how to work with jsp's … | |
Re: can you poste that code on pastebin and be clear on what exactly it is that is wrong? | |
Re: has it occured to you that maybe that is so because there are no entries for that date? before you query, print that date. then, run the same query from within ms access, see if you get a result. but why working with MS Access? | |
Re: have you tried by adding the required import statements? | |
Re: Nichito: he wants his essay to be generated, so he won't have to do homework anymore. @Palstreet: the best "essay writing script" in the universe, is the human mind. unless you have a thousand monkeys and give them pencils and a thousand years to write the complete works of shakespeare … | |
Re: try splitting it up in methods, so you can check what part is going wrong. this is just very hard to read. |
The End.