191 Posted Topics

Member Avatar for jmw5598

hai **jmw5598**, i think you have not loaded the mysql related driver in order to provide communication between your application and databse for this , add this line before at line 20 in your **ConnectionManager** class Class.forName("com.mysql.jdbc.Driver"); then everything goes fine please refer this url it explains everything http://www.vogella.com/articles/MySQLJava/article.html check …

Member Avatar for jmw5598
0
179
Member Avatar for Lamirp

hai **Lamirp** your code works fine for the first time. when you call that method **makeCheckBox(Jobs object)** for **second time it throws an error to you because you are creating the Jcheckbox with the same reference of the Jcheckbox what you created for first time** so i think you need …

Member Avatar for Lamirp
0
285
Member Avatar for subratbehera

hai **subratbehera**, i think you need to store **inwardBean** in any of the scope(like request or session) in **PagingCIFAction** before forwarding the request to display the values of it. so that the values will be available for the page where you want to display try to place this line at …

Member Avatar for radhakrishna.p
0
3K
Member Avatar for Yarra

hai **Yarra**, could you tell me how you initialize the values for these **bgReady,heroReady,monsterReady** variables in your script? based on the values of these variables you could not run the **render()** method directly i think (what i mean is if the values of all these variables are '**false**' then the …

Member Avatar for Airshow
0
133
Member Avatar for gyno

hai **gyno**, you dont have to download any plugins seperately for activating those two servers. those will be installed with netbeans installation process but you need to select those servers at the time installation process starts........ netbeans installer will take care of installing these 2 servers in your system **come …

Member Avatar for radhakrishna.p
0
177
Member Avatar for vishalonne

you have to do 2 things 1 create second frame constructor by passing first frame reference as shown bellow JFrame1 nf=new JFrame1(first_frame_ref); and there(i mena in second frame) you can call first frame to display whenever you want 2. before calling second frame to display make first frame visibily as …

Member Avatar for rush_parekh
1
10K
Member Avatar for johndohmen1963

i saw just you missed the echo keyword for displaying the value but you got it thats great you found it yourself

Member Avatar for radhakrishna.p
0
450
Member Avatar for Neha290791

hai **Neha290791**, could you post the code how you get the date data from database? so that we try to give a way to solution

Member Avatar for radhakrishna.p
0
185
Member Avatar for BoDuke1835

hai **BoDuke1835** i think you are operation form is not like this **if (BMI = > 18.5 && BMI < 24.9)** i guess its like this **if (BMI >= 18.5 && BMI < 24.9)** try to change it as above check it once let me know the status

Member Avatar for stultuske
0
193
Member Avatar for toldav

hai **toldav**, can you post the details of **LinearEquation** class once here? (if you have no problem) so that we try to give a way of solution

Member Avatar for radhakrishna.p
0
369
Member Avatar for riahc3

hai riahc3, i think this code will help you (this code can handle the Alt + k combination key event) <script language="JavaScript" type="text/javascript"> var isAltPressed = false; document.onkeyup=function(e){ if(e.which == 18) isAltPressed=false; } document.onkeydown=function(e){ if(e.which == 18) isAltPressed=true; if(e.which == 75 && isAltPressed == true) { alert(" Alt + k …

Member Avatar for Troy III
-1
192
Member Avatar for solomon_13000

hai **solomon_13000**, **this is just suggestion only :** i think that might be problem with your class couldn't find the path what you specified for ImageIcon class Objects so try to change the creation of **ImageIcon** class Object like as follows at line no 11 and 12 in your code …

Member Avatar for solomon_13000
0
363
Member Avatar for techyworld

i think you need to pass connection reference to **mysql_query()** function as follows $query=mysql_query("SELECT users.name, marks.MarksHighest FROM marks,users WHERE marks.name=users.name ORDER BY MarksHighest ASC",**$your_conn_reference_here**); check it once let me know the status

Member Avatar for techyworld
0
175
Member Avatar for afidah

hai **afidah**, could you post your code here? so that it will be easy for us to give a solution we know you got stuck at java script

Member Avatar for <M/>
0
96
Member Avatar for techyworld

hai **techyworld**, if you dont have any parameter then remove the entry from the **$ajax()** request like as folows $.ajax( // this is also valid ajax call { url:"marks.php", type:"POST", dataType: "json", success:function(data){ //do something. } }; passsing data to the resource is not compulsarily in ajax concept **(based on …

Member Avatar for radhakrishna.p
0
170
Member Avatar for wallet123

as **harinath_2007** said you have to call **doSet(ApplicationForm myApplicationForm) method** before calling **connectMeToDatabase(ApplicationForm myApplicationForm)** method at where you are calling these methods at line 8 you have declared but not instantiated yet try to call **doset()** method before calling **connectMeToDatabase()** method let me know if you have any doubts in …

Member Avatar for stultuske
0
429
Member Avatar for rouse

hai **rouse** i am confused about one thing as shown bellow > In the display the two <div>s are stacked vertically which is one of the problems **could you explain me clearly about the requirement?** and in the **second thing**, you have seen some red marks right its border style …

Member Avatar for Mitchelljonson
0
137
Member Avatar for waqar100

hai **waqar100**, as of my knowledge **AJAX** is concept where you want to provide synchronous/asynchronous communication between two pages with out submit the page dynamically. we can use this concept in jquery as well as in java script because these two are scripting languages but i dont know exactly what …

Member Avatar for radhakrishna.p
0
73
Member Avatar for <M/>

hai **MICHAEL**, **colud you explain me clearly what you are going to do whether you want 5 random numbers between 0 to 78 or something else** can you make me clear on this requirement so that we are here to help you happy coding

Member Avatar for <M/>
0
431
Member Avatar for chandub

hai **chandub**, this is not correct place to ask questions like above this is related **javascript/DHTML/Ajax forum** only but your question is related **JAVA forum** pls redirect your requirement post in **JAVA forum** of daniweb you may get help from there happy coding

Member Avatar for radhakrishna.p
0
132
Member Avatar for slygoth

hai **slygoth**, try to change the statement formating from this String query = "INSERT INTO GoodCustomer(Product ID, Type, Watt, Volts) VALUES(+obj.getProductId()+,'"+obj.getType()+"','"+obj.ge####t()+"','"+obj.getVolts()+"')"); to this String query = "INSERT INTO GoodCustomer(Product ID, Type, Watt, Volts) VALUES("+obj.getProductId()+",'"+obj.getType()+"','"+obj.ge####t()+"','"+obj.getVolts()+"')"); i think you missed to give " " quotation marks at the start and end of …

Member Avatar for bguild
0
156
Member Avatar for tony75

please go through the following URL it may helps you for this requirement http://www.oraclenerd.com/2011/09/drop-database.html happy coding

Member Avatar for tony75
0
1K
Member Avatar for kamil.metkowski

hai kamil.metkowski, i used the url what you shown in the above post as shown bellow <html> <head> <title>this is my first html page </title> </head> <body> <img src="http://metkowski.net/KlempBikes/images/bmx1.jpg" alt="no img found"/> </body> </html> its worked for me but you are saying that gives an error **do you have internet …

Member Avatar for EvolutionFallen
0
614
Member Avatar for iciaguevara

hai **iciaguevara**, Could you explain me breifly about **what the problem is**? so that we can try to give a way for the solution. let me know

Member Avatar for edensigauke
0
198
Member Avatar for ganges

ojdbc6.jar or ojdbc5.jar files needed to connect oracle 11g databse > what is the driver and url for oracle 11g what does URl means in this context? (i mean you are asking connection url to this database to connect with your application) let me know clearly once

Member Avatar for radhakrishna.p
0
3K
Member Avatar for participantjava

**(suggestion only:) why dont you try like this** Actually java script can access any of html input elements whereever you placed with in the page if you try to place your string array values in any of the html elements like **input fields,divs,spans,and so on (based on our requiement we …

Member Avatar for radhakrishna.p
0
4K
Member Avatar for pxmur76

hai pxmur76, as **softswing** said, you need to add/register **KeyListner** to your textfield so that only you can listen key events generated by the textfield. this is the way you can handle the "enter" key event with in the text feild.please do as follows steps: 1. add **Keylistner** to your …

Member Avatar for stultuske
0
1K
Member Avatar for rexmatthew

could you post what kind of error it is? it would be helpful for us to give a solution if you post the error message here happy coding

Member Avatar for AARTI SHRIVAS
0
246
Member Avatar for singularity~

hai **singularity~**, i think if you echo your $sql variable before executing,it display's as follows UPDATE book_store SETtitle = '$_POST[title]', isbn = '$_POST[isbn]', price = '$_POST[price]', quantity = '$_POST[quantity]' WHERE ID = '$_POST[id]' there is no space between 'SET' keyword and 'title' so please provide space between 'SET' keyword and …

Member Avatar for diafol
0
321
Member Avatar for mmcdonald

> nothing happens when clicking the submit button. could you explain me breifly somemore what the requirement is?

Member Avatar for mmcdonald
0
259
Member Avatar for liphoso

**suggestion only:** i am not sure this works fine or not place this header declaration at line no :65 in download.php before echoing your pdf file data header("Content-Type: application/pdf") just check it once let me know the status **Note:** i am not good at coding side

Member Avatar for IIM
0
150
Member Avatar for participantjava

you mean you want to display the <div> like lightbox or popupbox ...etc when your page is open could you clarify once how it would be>

Member Avatar for JorgeM
0
108
Member Avatar for klaragold

hai **klaragold** please clarify the following things little bit more **1. where do you want to display the status message?**(what i mean is you want to display with in the **contact.php** page or you want to display that in seperate page) > is it possible to only allow sending the …

Member Avatar for klaragold
0
148
Member Avatar for scippi

hai **scippi**, mostly this kind of situation will occur by entering/providing wrong input values (the exception name itself saying to us clearly you entered input value is other than what you expecting from the code .......) i think you have entered the value other than the integer value so it …

Member Avatar for henock
0
410
Member Avatar for darylglenng

hai **darylglenng** i got the answer for your problem (if my assumption is right) and what you just need to do is add 1 more question to your existing questions list with the same index 0 as follows (try to copy and paste it to your code as it is) …

Member Avatar for M4trixSh4d0w
0
341
Member Avatar for ladybirdchance

hai to all, by look at your code the following these 2 things might be the one reason for the above problem i thought at **line no 44 and 45** of HangmanFrame class you declared the 2 class variable references as a instance variavbles as follows private HangmanGame game; private …

Member Avatar for ladybirdchance
0
178
Member Avatar for foxwizzy

hai **foxwizzy**, you done for in your code for editing the entries **(see at line 94)**. so why dont you follow same procedure for deleting the entry (**just suggestion only**)? like as follows **(at line no 113)** <a href="delete.php?entry_id=<? echo r['current_entry_id']?>">Delete</a> use the same thing here for deleting entries by …

Member Avatar for foxwizzy
0
194
Member Avatar for anisha.silva

find the <url_pattern> tag value of your servlet in the **web.xml** and provide that value/path in the **href='your_servlet'** tag as shown bellow <a href="url_pattern_of_your_servlet"><strong>Vehicle</strong></a> let me know status as well as if you have any doubt in my clarification happy coding

Member Avatar for anisha.silva
0
556
Member Avatar for carrl00

as **bguild** said, move line 10 out side of the main() method. if do that then those are available to all the methods by changing variable usage like as follows 1.instead of using 'base' variable in the base() method base = input.nextFloat(); replace as follows this.base = input.nextFloat(); // this …

Member Avatar for stultuske
0
299
Member Avatar for f_atencia

hai **f_atencia** i dont have great knowledge at coding side but i want to give a way to solution to your requirement. please start as follows **steps:** 1. first replace '%'charecter with empty charecter in the given number string by using **replace('%','')**; 2. then find '.' symbol in the given …

Member Avatar for IIM
0
198
Member Avatar for Farhad.idrees

hai **Farhad.idrees**, i think you haven't passed any value to **validate(some_value)** . i dont know exactly whether that 'value' varible may takes default value for comparing . as **JorgeM** said , the above reason might be the one .so make that if..else statements properly one more thing **at line 7 …

Member Avatar for radhakrishna.p
0
113
Member Avatar for vidyya06

let me know how you are retriving the data what i mean is are you getting data from databse or somewhere else? can you describe the structure of your data? so that we will try to give the solution otherwise its hard to suggest any solution

Member Avatar for urtrivedi
0
918
Member Avatar for adikimicky

hai **adikimicky** please do as **JamesCherrill** said he is right in order to send and receive data properly between sockets (client and server) we have to use same kind of data flow related classes in java you used streams for receiving data at Client side but you are sending data …

Member Avatar for adikimicky
0
183
Member Avatar for dinhunzvi

we can achieve your functionality by using **isNaN(value_of_your text feild)** function of java script the following URL gives better idea on your requirement and how to use the isNaN() function for your script code http://javascriptexample.blogspot.in/2008/07/isnan-function.html let me know if you have any doubts in my clarification happy coding

Member Avatar for radhakrishna.p
0
169
Member Avatar for Edwinner

hai **Edwinner**, can you explain what you are going to do with the following query $query = ("UPDATE customers SET firstname = '$firstname' OR lastname = '$lastname' OR phone = '$phone' OR address = '$address' OR city = '$city' OR state = '$state' OR zip = '$zip' WHERE customernumber = …

Member Avatar for Edwinner
0
184
Member Avatar for andrew.ferrebee

**suggetion :** place **'break'** statement at the end of each **'case'** statement in switch() statement otherwise all three cases will execute for each time when the control comes in the switch() statement happy coding

Member Avatar for radhakrishna.p
0
240
Member Avatar for smurfy

hai **smurfy** i think you need to pass user details for getting Connection object for accessing Underlying database but i couldn't find the user details in your connection string url code what i mean is while creating connection object we need to pass the user details of the database for …

Member Avatar for radhakrishna.p
0
429
Member Avatar for pssingh1001

the following link will be helpful when your table has no **key** for any any column http://www.codeproject.com/Tips/159881/How-to-remove-duplicate-rows-in-SQL-Server-2008-wh as **pritaeas** said its very difficult to give the answer for your requirement without knowing the structure of the table please provide the table stucture once so that we are here to help …

Member Avatar for pssingh1001
0
176
Member Avatar for Vijaysurya

try like this:(whenever you want to change the class name ) for adding class propery to a element (i.e div,table,....etc) $("id-or-name-or-referenceof-ele").addClass("your-class-name-here"); for removing class property of a element $("id-or-name-or-referenceof-ele").removeClass("your-class-name-here"); it may helpful to you. in case if you have any doubt on my clarification let me know the status happy …

Member Avatar for dcdruck
0
154
Member Avatar for jjslama

**at line 12-14** i think you need to change the argument type what i mean is your printString(chr *string) method expects address of the variable/ pointer varible instead of passsing value of the variable while calling the method but you called this method by passing the value directly so that …

Member Avatar for jjslama
0
113

The End.