36,051 Topics
![]() | |
Hi All This is my first post on DaniWeb. I'm new to JSPs and my requirement is that I have to pull data from MySQL database and display it on the browser upon a click of a button by the user. I have come to know that one should use … | |
Hello friends,happy new year all.. I'm trying writing classes Item to include int Quantity,String name and a new&different&immutable serial number will be produced automaticly for every item...(then being able inherating the Item for sub classes for types of food) Also i'm trying build a proper class Stock enabling to manage … | |
hi All, I m a student.... I am assigned a project in java course to develop a "Ftp Server using RMI".... Requirememts:- Requriments are not so high.... It should be a simple one... Ftp Server could add, remove, view users and statistics through proper GUIS..... Ftp Client shloud be logged … | |
I have a stored procedure in oracle which has 2 in parameter and 1 out parameter. One of the in parameters has default value given. I want to call this procedure through java without specifying value for the in parameter which has default value given. Any idea, how to do … | |
I have an apllication to verify the user identity using database(Oracle 9i).I used JSP for page design & servlet for interacting with the database.I made necessary changes in the web.xml file & saved the .class file in classes folder and servlet in src folder all of which lies under JSPMultipleForms … | |
So Ya My Explorer.exe Keeps Crashing Too And Everytime I Try To Run It It Shuts Off In Like 10 Seconds. Here Is My Log File Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 10:58:39 PM, on 12/29/2008 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16762) … | |
im trying to write a program that determines the type of hand with three cards (one pair, three of a kind, straight, flush, straight flush, high or low card, or royal straight flush) This is my code so far. I got the cards to come up to be what they … | |
Hi, I'm sorry for making the question unclear, but my English is not good. I will try to explain it: [code=java] class test0{ test1 t1 = new test1(); public static void main(String args[]){ new test0(); } public test0(){ t1.displaymsg1(); t1.callDisplaymsg0(); } public void displaymsg0(){ System.out.println("Successfully linked to test0 class"); } … | |
Hello, i'm trying to make a a list of items in a Text Area, something like this: apple 2 22 banana 31 1 orange 1 3 i want to it o be organized such that the numbers are in one column, and thats not working with me since the names … | |
I have a byte array has follows: 0 6 -56 28 How can I get its integer value by doing a manual calculation? | |
I'm trying to do selection sort for objects...But it wont work, please help. We were told to change the first one to do objects. Any help appreciated [ICODE] public static void selectionSort (int[] numbers) { int min, temp; for (int index = 0; index < numbers.length-1; index++) { min = … | |
write a java program that checks if parenthesis and brackets are balanced in an arithmetic expression. help me!! :(( i dunno how to solve that problem.. is it the same as the calculator java code? the concept, i mean.. :( help me guys.. | |
i need to enhance jawi converter application using syllable word, but i don't know how to start it. The previous version, the coding is not working for syllable,so i need to change some coding to make it done convert correctly.Here some of code that i have to enhance. | |
I am a mumbai university engg. graduate in IT, 2008 batch and i've been working with a software firm as a java/jsp programmer. I left the job after 3 months and currently im a visiting lecturer for a engineering polytechnic college. Im interested in taking free lance projects but before … | |
i was writing a code for the applet in the awt class. but i was confused as i couldnt find any function to fix the position of button or textbox in the applet. the only solution which i got was using layout manager. but then i also couldnt find the … | |
Morning everybody. my question seemed simple but i have been trying (unsuccessfuly) for day's to solve it . i have a message in red saying my javascipt is disabled/limited fincionality only. i have lost search function/restore function. and i can't access my emails.i have googled this and recieved load's of … | |
Sunce I updatred to Java 6.0.2 late last summer, no other updates will install. I have dowloaded the online and the offline version of Java 6u10 and 6u11 and the Java installer screen does not come up. when I double-click on the saved files I am using Windows XP Pro … | |
hi all! i want to delete a file/directory in java, the delete().depends on other programs which uses file name as string.but for me to delete the file,the name must be a File. that is what i have realized as when i use string it does not recognized some methods,like List … | |
I having trouble understanding what the routines are doing. Can some one point me in the right direction. I have enclosed the java files. This is part of an internet challenge to better myself. | |
Can anyone help me with this?.... I got some sample programs to be studied but I don't really know how to remove its bug..I don't know if there really is..but I think there is...there was no error upon compiling but when I try to run it...there is... here is the … | |
A book shop has bookshelves with adjustable dividers. When one divider becomes full, the divider could be adjusted to make space. Create a Java program that will reallocate bookshelf space using Garwick's Algorithm. Can any give me some pointers with this ? thanks. | |
Hey everyone, im writing a blackjack program with java swing and im having problems with setting the layout with panels and frames. I want to apply a different layout to two different panels, add them to a frame and then display the frame, heres my code: [CODE]//Blackjack //By Thomas Bean … | |
hey can anyone help me with some work please i have been asked to: provide information about the number and total amount of purchases from each suppliers each month, the number of sales and total price for each category of animal each month. at the moment i have got the … | |
Can anybody send me the source code in JAVA platform for Networking monitoring | |
Hello!! I have a ByteBuffer & I want to send it on tcp or udp connection. How can I do this? | |
Hello, Please tell me in Java we don't have a multiple inheritance? so,in which function we use these inheritance. Thanks | |
Hi. I want to implement a mouse using a webcam. I would be tracking a laser pointer dot using a webcam and converting that point to mouse coordinates. I want to develop a java application for it. I am a beginner in java so i would be very thankful if … | |
Hey everyone, heard the people here are good so I thought u were the only ones to help me in this i keep getting these runtime errors [icode] Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) at java.lang.Double.parseDouble(Double.java:510) at MainClass.actionPerformed(MainClass.java:263) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at … | |
I'm attempting to code the method below. The code accesses a program call bean to a COBOL program on the iseries. From what I can see, the COBOL program is accessed correctly yet nothing is returned to the method below (I have verified this by stepping thru debug). All of … | |
So I know how to do animation and I know to deal with components, but I don't know how to do both. How can I isolate the drawing of the components from the animation? The particular problem I'm having is when I have an opaque component over the animation? I … | |
Hey Guys, Anyone know of some a license I can use for my program that allows people to use my software but not for commercial use and not make it open source? | |
hai friends just now i am finishing M,Sc(IT&SM)now i am entering in project work i am not under stand java tech so how to develop java skills help me friends by muthumariappanap | |
Am searching for an efficient algorithm for generating solved Sudoku given the size(rows and column) of the board as input. i have written a program but its performing badly when the number of rows and column exceeds 40 (ie 40 x 40 matrix ). [CODE] import java.util.Scanner; public class Main … | |
I have two questions ( these may be very simple, but I'm concentrating on different things so I need somebody push me in right direction as not to waste time, bold said but that is reality) [LIST=1] [*]Passing object from top component to lower ones I have GUI where after … | |
i'm making my minor project in steganography. but i'm not getting any useful information about f5 algorithm of hiding data in a JPEG image.it makes some use of DCT quantized coefficients ,please help me !! | |
Hi, I trying to run a Axis JAVA client with a GSOAP C++ server. Here in the below given code I am trying to make an asynchronous call from the JAVA client using "sendReceiveNonBlocking" API. On the GSOAP server side I am using the "soap_send_..." for the asynchronous behaviour. I … | |
Hi, I have a simple class with 2 constructors.(It's very long so I won't paste it..). I assign the value of a boolean static field according to the used constructor. I also have implemented serialize/deser methods. My problem is the following : I have to perform different serialization/deserialization actions according … | |
I'm unable to delete data in a file in java.I tried to take whole data in to a string and manipulate it and output the data to the file.But it is stated in the problem that...it should not be done in that way.could anyone help me out?? | |
I have a table in mysql which I can view perfectly using JSP, but there is a problem with inserting into the table which I cannot figure out. Here is my code: [CODE]<%@ include file = "database_ini.jsp"%> <% if(request.getParameter("insert") != null){ String name = request.getParameter("name"); String sql = "insert into … | |
So I Got Word That My Computer Got Messed Up Whilst I Was Away At A Friends And It Appears That My explorer.exe Crashes And Restarts But Won't Stay On For More Than 15 Seconds I Could Really Use Some Help. Here Is My Log File: Logfile of Trend Micro … | |
Guys, I'm in need for a java jar named tidalwave and drew. Is there someone who can tell me where can I find this jar? | |
please help any body knows the code in java networking..i want the code of transfer folder contents from client to server.....thread must me included so that timely back up will occur... <snip email> | |
Hi All, I am a new one in jsp having the basic idea. I have some dll deployed in web server. When user hit my server on the login.jsp page I instatiate a Com dll using the Object tag. Now the problem is that if my site is not added … | |
Dear friends I am new to this forum and looking for help here. I am building an application in JSP with TomCat and MySQL. The application is to be stored on C:\ on the server while the data it will be dealing with will be on D:\. When I use … | |
this question has been burning in my mind for a long time, which is more popular and superior java or .net what are the future prospects of java and .net I'm not sure whether i can post such a question here cos i'm new to daniweb. looking forward for replys. … | |
hey guys, I was wondering if there is anyway that my java app could retrieve the computer name. IE My computer could be named [ICODE]"PhiberOptik-desktop"[/ICODE] I want to retreive [ICODE]"PhiberOptik-desktop"[/ICODE]! Thanks PO. | |
I am just wondering if i want to delete a file using coding how can i do it using jsp? Example i have a file name pig.jpg in my root folder and I wish to delete this file as i no longer use this any more how can i do … | |
Can anyone give me code for conversion of IEEE-754 representation of binary float to decimal number? |
The End.