191 Posted Topics
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: i saw just you missed the echo keyword for displaying the value but you got it thats great you found it yourself | |
Re: 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 | |
Re: 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 | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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 | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 | |
Re: 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 | |
Re: 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 … | |
Re: please go through the following URL it may helps you for this requirement http://www.oraclenerd.com/2011/09/drop-database.html happy coding | |
Re: 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 … | |
Re: 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 | |
Re: 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 | |
Re: **(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 … | |
Re: 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 … | |
Re: 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 | |
Re: 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 … ![]() | |
Re: > nothing happens when clicking the submit button. could you explain me breifly somemore what the requirement is? | |
Re: **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 | |
Re: 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> | |
Re: 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 … | |
Re: 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 … | |
Re: 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) … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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 | |
Re: 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 = … | |
Re: **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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: **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 … |
The End.