4,084 Posted Topics

Member Avatar for anand11mc04
Member Avatar for stultuske
0
88
Member Avatar for abra_ka_dabra
Member Avatar for sheelap

also: the use of static. just because it is written in a class, doesn't mean you have an object when you use it.

Member Avatar for mike_2000_17
0
207
Member Avatar for moaz.amin.37

as Taywin already said: "there is no command or functionality like that in the language"

Member Avatar for JamesCherrill
0
337
Member Avatar for masonketcham
Member Avatar for dev90

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)

Member Avatar for Alberto Bucur
0
230
Member Avatar for dstoltz

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 …

Member Avatar for stultuske
0
183
Member Avatar for iAssistant

hmmm ... this link says it all for over here: http://cdn.memegenerator.net/instances/400x/24161756.jpg

Member Avatar for Stuugie
0
4K
Member Avatar for NyQii

don't just post your assignment here. start of with what you've already done.

Member Avatar for jwenting
0
268
Member Avatar for Shaikh_1

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.

Member Avatar for Shaikh_1
0
6K
Member Avatar for riffat.jaffery.3

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.

Member Avatar for stultuske
-2
111
Member Avatar for ali11

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

Member Avatar for stultuske
0
279
Member Avatar for vinnitro

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 …

Member Avatar for stultuske
0
319
Member Avatar for moaz.amin.37

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 …

Member Avatar for 203428
0
231
Member Avatar for moaz.amin.37

also: you can't use rno as a parameter since it has no value. local variables don't get default values.

Member Avatar for moaz.amin.37
0
553
Member Avatar for nutandevjoshi

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 …

Member Avatar for iamthwee
-2
164
Member Avatar for TheFearful
Member Avatar for masonketcham

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 …

Member Avatar for stultuske
0
140
Member Avatar for anupam_smart
Member Avatar for Slavi
Member Avatar for Slavi
0
199
Member Avatar for moaz.amin.37

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 …

Member Avatar for Slavi
0
316
Member Avatar for Netherblood

* 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

Member Avatar for JamesCherrill
0
136
Member Avatar for SuperPink

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?

Member Avatar for lalaRMa
0
2K
Member Avatar for vishalonne

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 …

Member Avatar for vishalonne
0
309
Member Avatar for jithinjohny

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.

Member Avatar for stultuske
0
213
Member Avatar for bharatgs7

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 …

Member Avatar for peter_budo
0
124
Member Avatar for teitsu

how about [the official Java tutorials](http://docs.oracle.com/javase/tutorial/)?

Member Avatar for stultuske
0
125
Member Avatar for sing1006

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.

Member Avatar for sing1006
0
287
Member Avatar for bonzie1923

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 …

Member Avatar for JamesCherrill
1
155
Member Avatar for salv236

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 …

Member Avatar for chrishea
0
320
Member Avatar for Terens92

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?

Member Avatar for jwenting
-3
161
Member Avatar for nutandevjoshi

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 …

Member Avatar for jwenting
0
219
Member Avatar for smartguy360
Member Avatar for Techboy52

also, this thread is 3 years old. if he still didn't found it, I'm pretty sure he isn't looking anymore.

Member Avatar for stultuske
0
4K
Member Avatar for mukhtar_1

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 …

Member Avatar for peter_budo
0
182
Member Avatar for firepower

ehm ... what exactly is the point? what is it (not) doing? are you getting an error? an unexpected result?

Member Avatar for Taywin
0
164
Member Avatar for Yogesh2591

check [this](http://stackoverflow.com/questions/7457477/stored-procedures-as-queries-callablestatement-vs-preparedstatement)

Member Avatar for stultuske
0
107
Member Avatar for quackyeji

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)

Member Avatar for jwenting
-1
229
Member Avatar for The king
Member Avatar for Richa_2

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

Member Avatar for Richa_2
0
285
Member Avatar for Maniyuvaa

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 …

Member Avatar for veedeoo
0
135
Member Avatar for surya55

ishaan: you're explanation is either too vague, or incorrect. the way you explain it, building that first building would not be instantiating.

Member Avatar for Doogledude123
0
205
Member Avatar for jan.sehona.1

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

Member Avatar for JamesCherrill
0
198
Member Avatar for jan.sehona.1
Member Avatar for JamesCherrill
0
233
Member Avatar for ishaan3731

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

Member Avatar for stultuske
0
291
Member Avatar for josh.leong2
Member Avatar for josh.leong2
0
209
Member Avatar for Ali_khan11

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?

Member Avatar for stultuske
0
1K
Member Avatar for masonketcham
Member Avatar for masonketcham
0
268
Member Avatar for palstreet

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 …

Member Avatar for Brian_3
-2
731
Member Avatar for anku83

try splitting it up in methods, so you can check what part is going wrong. this is just very hard to read.

Member Avatar for anku83
0
215

The End.