35,618 Topics
![]() | |
develop a simple application that when run welcomes the users and tells them the name of the last person to run the application, this information should be retrieved from a file. Use the Class Loader and Properties classes to load the file | |
wen i try to connect jsp with access i found error showin "no data found" ..how can correct it ? also data is not inserted in my database..my codin is below.. [code=JSP]<% Connection con = null; Statement stmt = null; ResultSet rs = null; String quer = "insert into db … | |
I am creating a login page , where when user enters his username and password the the request is sent to the servlets first and then validation is done in a javabean . If validation results true then user is forworded to another page otherwise he remains on the same … | |
Hey all, I need some help with an application which needs to read data into an array using methods and then write it back out into a 5x5 table so i would read int 25 digits say: 0 1 2 3 4 5 6 7 8 9 0 1 2 … | |
I am working on a program where there are several tasks that take time that users can implement. I would like a progress bar to pop up to inform the user how far the task has gotten. When the user presses a button on the main frame, I want a … | |
i have a jsp it has two fileds..mobileno and password..when i enterd values its storing in DB.But when iam retriving its retriving and comparing only with newly inserted values only.. it is comparing only last inserted values in Db only ..here is my code.. [code=jsp]package com; import java.io.*; import java.util.*; … | |
I have two programs, one is a GUI and the other is a normal (non GUI) program. How do I make a method in the non-GUI program wait until a JButton on the GUI gets clicked before continuing? (No while loops) This is frustrating since I'm fairly certain somebody here … | |
We have been given a task to do the following:- Write a class LectureTheatre that has the following attributes (properties): lectureTheatreName / maxOccupancy / layoutStyle (the lecture theatre may be either flat or tiered) For example:- lectureTheatreName : Frankland LT ... or ... Fylde LT2 ... or ... George Fox … | |
This is part of an ongoing project and up to now i've been able to figure things out. This insallment is: 1. Create an instance array called employees that will hold Employee elements. 2. Modify your loop to create a new element in the employees array for each employee entered … | |
Hi guys! I am new to java and I have a little problem with ma Java code. My application should read and paint an Image from file. The information about the image are in text format and the image can be composed of rectangles and circles. An example: rectangle { … | |
How we can authenticate the users without using username and password,i.e anybody can view the page by just entering name,emp id and date and on submitting redirect to the url | |
Q: Create a JSP based page wherein by clicking the add button the user details should be added to the database and clicking the delete button should delete the particular user details from the database. I am new to JSP so dont have much idea how to proceed? Do we … | |
I tried to modify this merge sort method to sort an array of type T. Its an merge sort except iterative. I was just wondering why it wouldn't sort right? Can anyone help me out? [CODE=Java]public static <T extends Comparable<? super T>> void iterativeMergeSort(T[] input) { // Create a temporary … | |
Hi, I am making a java program to make a countdown timer. User enters time,then when time is up a message is printed. How do I print the time on the same line? Please tell me how to go about it. Thanks. | |
i dont know how to solve this problem,,it seems that i dont know how to fixed this error Exception in thread "main" java.lang.StackOverflowError please helped me,,im stack on it,, i just have a class public class ATM{ BankAccount bank = new BankAccount(); SavingsAccount savings = new SavingsAccount(); CheckingAccount checking = … | |
hello i need a help, if i have a text file that contains something like this: account num name credit account type 1 sara 1000 current 2 jerry 5000 comercial i wanna get out the number in the credit coloumn to add or subtract from it and i don't know … | |
Hey, one of you guys suggested that I go on Wikipedia's page for hash tables. It was actually pretty informative. I'm pressed for time so I am doing separate chaining for my hash table because it seems like it will be one of the easiest to implement (and according to … | |
Hi, In my project, i should display all the mail ids available in a website. one text box where i should enter the address(eg:[url]www.sample.com)and[/url] submitting it will return all the mail ids available in that website. Kindly help me out.Thanks... | |
Hi i created one jsp form with 2 fields..now in the first servlet i want check whether those 2 fields values are presented in the Database or not..if not then i want move those values to another servlet .. how can i do this?how to get the values (parameter values … | |
Hi Guys, I am new here in this community. I still did some stuff with JSP, but now I have a principle questions. Would be nice to receive some feedback... I wanna build up a website with several JSP pages. But I don't want to place all the content into … | |
Hello, I'm trying complie this SortedList Program and List Java, but I'm alot errors. If someone can help with this, I really appricated. Thanks import java.util.Iterator; /* * * SortedList.java * */ public class SortedList<E extends Comparable<? super E>> extends List<E> { private int size; public SortedList(){ head = null; … | |
Hi Experts! I am new to Java any body guide me where i can download free java lectures. best regards Khalid Mehmood | |
hello guyzz,,,i am almost finished with my code,,but our teacher require us to access a text file..this is it: in my text file: accountList.txt 12345 1234 200000 Jerry Lopez first column was accountNumber, then the pinNumber, then the balance and the name.. what i did was... import java.io.*; public class … | |
Hi,... I am learning JSP . I want to know that which software or tool that should be used to develop the code... which help me for future to work. after few days i am on 1 industrial project so.. which software?? any server / tool that should is used?? … | |
Ok so.. I've been trying to customize a dialog box.. I'm pretty new to this.. So this might be a stupid question.. But anyways... Code: Object [] options = {"Course I do!", "Not Really"}; int n = JOptionPane.showOptionDialog (frame, "Do you Understand?", "Easy Question", JOptionPane.YES_NO_OPTION, JOptionPane.INFORMATION_MESSAGE, null, //do not use … | |
If I want to add a plugin which I have designed after I have written the software ... how should I do it. Suppose I designed a word pad ... and then I designed a spell checker ... how should I add the spell checker to my word pad to … | |
This is what i did for the factorial assignment that we had.. but i have a little trouble in my recursionFactorial method.. can anyone help? tnx public class Factorial { public static void main(String[] args) { int index = JOptionPane.showConfirmDialog(null,"Would you like to compute\n" + "for the factorial of a … | |
I wondered if anyone could help. I am trying to use a FileChooser in java. I have got the dialog box to appear and can select the file, but the box just displays "opening" and the file name. how to I add to the code to make it actually open … | |
The protection on code generated in NetBeans is great. untill it gets it wrong and you have an arbitrary line protected and it totally stuffs up your code and you can not longer work on your project!! Anyone know how to temporarily remove the protection, edit what you want and … |
The End.