458 Posted Topics

Member Avatar for veledrom

The DBMS will take care of that, you do not have to worry for that.

Member Avatar for verruckt24
0
46
Member Avatar for KevT

You can assign [I]only[/I] access privilege to the standard set of records (I assume they are in a separate table) to the group. So that they can certainly generate other records using values from the standard records but not edit/delete them in anyway.

Member Avatar for verruckt24
0
102
Member Avatar for JasonCMK

You could write a MySQL query for this like: [code=sql] SELECT Name FROM tablename where type = '<type>' and price <= '<price>' [/code] Once you have the result for this, you could show it using PHP.

Member Avatar for verruckt24
0
72
Member Avatar for rajeesh_rsn

@naveen : Good point there about the keywords, but I guess he has framed his question wrong. @OP : Would you be able to define a custom search in more detail or reframe your question, cause "district = all, typ = all and price = all" is not a search …

Member Avatar for verruckt24
0
208
Member Avatar for madhusvuce

You check the mysql binary log, so as to know what the server was doing at the time of the crash.

Member Avatar for verruckt24
0
80
Member Avatar for karthikRaju

[QUOTE=chandanapiit;816133]hi stultuske can u help me for making online examination interface in java[/QUOTE] Lame, Lame, Lame !!! I have no other words for you. You don't check the dates of the last post, you don't care to check for the forum rules, and on top of that you ask a …

Member Avatar for javaAddict
0
171
Member Avatar for swit

Latitudes and Longitudes would help you in almost zeroing in on any place. When detailed right down to seconds you can pin point any place on the globe. But do you always want such pin pointed accuracy ? Or sometimes you would do with just identifying the "region" of the …

Member Avatar for verruckt24
0
57
Member Avatar for IMtheBESTatJAVA

Well I guess someone is going to close this thread pretty soon, but just before that happens let me squeeze in my views from what I have observed in this thread. (I had read it earlier too) Okay, IMtheBESTatJAVA, I am wanting to believe you that you did not disguise …

Member Avatar for verruckt24
0
167
Member Avatar for weblover

@weblover : The thing is not that only when [I]all[/I] the checkboxes are selected the code would work. [I]Only[/I] when the [I]last[/I] checkbox that you add is selected, that the code would work. Reason : Something similar to what you were doing with your placement of labels earlier. You use …

Member Avatar for weblover
0
99
Member Avatar for mona515

@umairsario : Do you think you have added any thing in your post apart from whats already mentioned ? I appreciate you are trying to help someone but if you care to look at the post of masijade, he exactly mentions the same thing. You, actually degrade the value of …

Member Avatar for verruckt24
0
231
Member Avatar for ravikiran032

If you see the javadocs for [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/net/ConnectException.html"]ConnectException[/URL] class, it tells you that this could be typically due to the fact that no process is listening on the port. Make sure the port number that you are using (32133) is being listened by some process.

Member Avatar for masijade
0
5K
Member Avatar for Chaster

Ever heard about [I]de[/I]serialization ? You can deserialize a previously serialized object, so that it represents an object exactly matching the one that was serialized.

Member Avatar for verruckt24
0
85
Member Avatar for lovely_aly

Instead of asking us you can write out the main method and other required methods for each of your assignments one by one and (as mentioned) test the code for multiple inputs. If the outputs exactly match what you have been expecting the program to do to the input then …

Member Avatar for javaAddict
0
152
Member Avatar for gabec94

Firstly gabec94 I would like to note a few things that I have observed while going through this thread. You are not taking any heed of the advice and help given to you and just want to stick to the method of doing something in the langauge that you have …

Member Avatar for Taniotoshi
0
564
Member Avatar for nealz

Use a query that groups users by status and in the second column put their count. Try to form a query for this.

Member Avatar for nav33n
0
65
Member Avatar for DomoCobra

Detail out your problem, I ain't getting from this description what it is that you want to do exactly.

Member Avatar for DomoCobra
0
131
Member Avatar for progurammaar

Depends upon how much data you would want to store. [icode]varchar[/icode] is a choice, [icode]tinytext[/icode] - max 255 chars, [icode]text[/icode] - max 65535 chars are other options. There are also [icode]mediumtext[/icode] and [icode]longtext[/icode]. Choose according to your needs. A complete summary of MySQL field types can be found [URL="http://help.scibit.com/Mascon/masconMySQL_Field_Types.html"]here[/URL]

Member Avatar for nav33n
0
274
Member Avatar for dipsn

For you first question, read the tuttorial in the JSP section, by peter_budo. Extracting only the information of some specific column depends on the query you write. For your second question, search this forum as there have been several queries about crawlers in java. They have been given enough help/pointers. …

Member Avatar for verruckt24
0
127
Member Avatar for sannidhikumar99

>i want to Write a program to download a website from a given URL Umm.. Well you can proceed... > plz give me solution for this as early as possible its urgent...... What ?? Didn't you just said [B]YOU[/B] were going to write the program ?

Member Avatar for stultuske
-1
131
Member Avatar for thijo

Why do you think your trainer gave this to you to be debugged, only for you to pass it onto somebody else, naah, he wants [I]YOU[/I] to do that, so probably there's something in it that he wants you to learn. Step through the program, see whats it expected to …

Member Avatar for verruckt24
0
115
Member Avatar for jksaheta

From your program I don't see any OOP concepts into play here. Create a class Person, create a class Relation which determines the type of relationship (this could be a string representing the relation). Create a class Association that has a Relation object and a Person object. Then you could …

Member Avatar for verruckt24
0
118
Member Avatar for spec80

You need to have a member variable of type Other in your Array class, then in the constructor you initialize it to whatever is being passed to you. And then you make use of this variable to access methods of Other class. Note : The methods of the Other class …

Member Avatar for verruckt24
0
94
Member Avatar for bushman_222

[QUOTE]Can anyone think on any programs ideas that I can create to practise?[/QUOTE] Hmm...Well yes, we can do that, but may I know one thing before that, why can't you do it on your own ? Cook up some ideas just like that, they could be anything, and start working …

Member Avatar for verruckt24
0
166
Member Avatar for dusk

Did [URL="http://www.daniweb.com/forums/thread99132.html"]this[/URL] miss your attention or you ignored it ? Cause it's [I]really[/I] difficult to miss that.

Member Avatar for verruckt24
0
88
Member Avatar for sannidhikumar99

[QUOTE=sannidhikumar99;812428]i am developing a small record management application for a school. Tasks will be Add Record, Edit Record, Delete Record, List Records. Each Record contains: Name(max 100 char), Age, Notes(No Maximum Limit) No database should be used. All data must be stored in one or two files. Listing records should …

Member Avatar for verruckt24
0
115
Member Avatar for mariappan.s

We wont post syntax over here directly show us your effort for it first. Also if MySQL asks for super privileges, you may as well have them. It certainly won't show incorrect errors.

Member Avatar for verruckt24
0
97
Member Avatar for Rashakil Fol

Yes, ddanbe comes up with a very good solution here. Yes one might think about a comment in either a good or bad way but there is a certain degree to the goodness of the comment and to the likeness of the rep giver. Currently there's no way to distinguish …

Member Avatar for happygeek
0
169
Member Avatar for devonte15

[code=java] public PaymentDDJ(); [/code] This is wrong, you need to provide a method body to the constructor. Also this is wrong : [code=java] String header = Format.justify('l', "NAME", 12) + Format.justify('r', "MONTH", 15) + Format.justify('r', "CURRENT BALANCE OWED", 15) + Format.justify('r', "INTEREST OWED", 15) + Format.justify('r', "PRINCIPAL OWED", 15) + …

Member Avatar for verruckt24
0
209
Member Avatar for amarjeetsingh

Read the documentation given on the URL mentioned, you can either use it directly or extend the classes yourself to add customised behaviour.

Member Avatar for verruckt24
0
68
Member Avatar for veledrom

You aren't using a password for the root account and your access is denied, this certainly means that the root account on localhost does have a password. Initially the root accounts created by the install script in MySQL do have an empty password, but as mentioned above your server does …

Member Avatar for PirateTUX
0
209
Member Avatar for Superstar288

Depending on the attributes that different seats may have you can choose to either implement them as different type of seats or keep a 'type' attribute in the Seat class that gives their type, if they do not differ much. >also i have to make sure that the seats are …

Member Avatar for Ezzaral
0
148
Member Avatar for scias23

From what comes to my mind immediately after seeing this, you are in effect copying only about half of the string since you begin by assigning i to 0 and j to the last character of the word, then you increment i while simultaneously decrementing j. i and j will …

Member Avatar for jencas
0
285
Member Avatar for shasha821110

It's a bit difficult to give an example of memory leak, because it almost always happens accidently without the developer even knowing it. Memory leaks bugs almost always plant themselves so subtly that they are often too difficult to trace even for an experienced programmer and the only way he …

Member Avatar for William Hemsworth
0
111
Member Avatar for abhi_elementx

See the API docs for the [URL="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html"]ProcessBuilder[/URL] class. Also check the ErrorStream for the process to check for any errors. Go through [URL="http://www.daniweb.com/forums/thread171319.html"]this[/URL] thread.

Member Avatar for abhi_elementx
0
146
Member Avatar for shasha821110

The above two posts have already informed you about the "side-effect" of the pointer assignment. I just want to add to it that would throw some light on the memory leak part. When you permanently loose the base address of the memory chunk pointed to by b, you also loose …

Member Avatar for verruckt24
0
146
Member Avatar for sonicstage

[QUOTE=idb_study;807631]Very sorry but I couldn't get the source of the problem. Did you compile it? did you run it? whare does the problem lie?[/QUOTE] The post above your post, specifies [B][I]exactly[/I][/B] where the problem lies

Member Avatar for verruckt24
0
100
Member Avatar for nanna

[code=java] listModel.addElement("Cathy 7654328901"); listModel.addElement("Jessica 1654223789"); listModel.addElement("Larry 2766541397"); listModel.addElement("Marry 9871265347"); listModel.addElement("Sam 9871236453"); listModel.addElement("Smith 4512344879"); [/code] These lines cannot be in teh class body, they need to be inside some method of the Address class.Same goes for these lines: [code=java] list.setSelectionModel(ListSelectionModel.SINGLE_SELECTION); list.setSelectedIndex(0); list.addListSelectionListener(this); list.setLayoutOrientation(JList.VERTICAL_WRAP); list.setVisibleRowCount(); [/code] And these : [code=java] contacts.addActionListener(listListener); contacts.getDocument(); …

Member Avatar for verruckt24
0
222
Member Avatar for mmmmmmmmmmmm
Member Avatar for ahihihi...
0
308
Member Avatar for twomers

[QUOTE=ahihihi...;801169]:* I hate this thread.. :* ahihihii...:twisted:[/QUOTE] Why do you have to put your username after every post of yours ? Just a question that comes to mind seeing your posts.

Member Avatar for ahihihi...
0
79
Member Avatar for BrianK123

As Ezzaral has mentioned, I would like to see more code, as these lines are perfectly fine.

Member Avatar for BrianK123
0
1K
Member Avatar for Johannady2

I am glad that you failed, you were in a test and you weren't knowing such trivial things. I am sure you had been given enough time to learn them, obviously as it appears from your condition, you passed the time, without actually putting it to good use. It's good …

Member Avatar for verruckt24
0
118
Member Avatar for mona515

I am unclear of what you are trying to do here, so correct me if I haven't understood but instead of copying choices to result and then returning back result, why not return choices.

Member Avatar for notuserfriendly
0
84
Member Avatar for youngstorm

Yes, I agree with stultuske's method of keeping the return type as int and returning -1 where the number isn't found. Besides being simple, this method is a good practice. Using null might cause the caller method to throw a Null Pointer Exception if the exceptional condition is not handled.

Member Avatar for youngstorm
0
126
Member Avatar for hurbano

VernonDozier has already given you the directions, if you have taken a look at them you would understand it on your own. To tell you in brief about Operator Overloading : It is to attach a new/different meaning to an already existing operator in the language. This is called [B][I]overloading[/I][/B] …

Member Avatar for VernonDozier
0
441
Member Avatar for raymyster

Well there can be thousands of correct values here for the variables that you mention. For ex: ABCDE could be 4 and EDCBA could be 16, ABCDE could be 16 and EDCBA could be 64, etc, etc. So you cannot exactly get to the values that you mention. Do you …

Member Avatar for vmanes
0
120
Member Avatar for jpp10

@jpp10 : The StringTokenizer is legacy class and it's use is not recommended, the java people themselves say this. You can find it in the documentation provided for that class. Use the [icode]split()[/icode] method of the String class as suggested.

Member Avatar for jpp10
0
182
Member Avatar for KeithMcL

This depends on your relational design. As you mention information about your project, the hosts are "service providers" and the users are "service consumers/takers". You need to decide whether what relationship the hosts and users share. If a user can have content hosted on multiple hosts then there is clearly …

Member Avatar for KeithMcL
0
153
Member Avatar for l_03

You need to loop your code to print all the tokens. Something like: [code=java] while(st.hasMoreTokens()){ // parse every token OR print it OR do whatever } [/code] Since currently there is no loop, it exits after printing just the first token. Also note, the [icode]StringTokenizer[/icode] class is a legacy class …

Member Avatar for verruckt24
0
170
Member Avatar for Sky Diploma

[code=cplusplus] for(int x=1;x<=(num);x++) [/code] Since 1 is not a prime number don't begin your loop with it, rather initialize x to 2. [B]Definition of prime :[/B] An integer [I][B]greater than one[/B][/I] is called a prime number if its only positive divisors (factors) are one and itself.

Member Avatar for Sky Diploma
0
129
Member Avatar for rolinski

Also furthering to what KevinADC has already mentioned what is the criteria that you want to print values on ? We can't figure from two values which values you want to print and which ones you just need to ignore.

Member Avatar for KevinADC
0
352

The End.