Search Results

Showing results 1 to 31 of 31
Search took 0.01 seconds.
Search: Posts Made By: suretd
Forum: JSP Jun 30th, 2009
Replies: 1
Views: 824
Posted By suretd
Good Day,

When I run my servlet in my web browser, everything runs fine ... until i press one of the option buttons, Deposit, Withdraw or Balance, then i get the following error:


type Status...
Forum: Java Jun 30th, 2009
Replies: 1
Views: 244
Posted By suretd
Hi All,

For my final assignment, I need to create a BookCatalogue and save the data to a file on the disk.

I have created a Book class that get and inserts the fields: Book title, author and...
Forum: Java Jun 29th, 2009
Replies: 3
Views: 682
Posted By suretd
HI All,

I have made some changes to the ResultSet statements ... and the while loop ... and now the code is working perfectly.

Here are the changes:


ResultSet rs =...
Forum: Java Jun 29th, 2009
Replies: 3
Views: 412
Posted By suretd
Hi Peter,

I am finishing up my JAVA programming diploma through a college here and the text book they are using is strarting to seem to me VERY old ... I REALLY struggle with the tutorials they...
Forum: Java Jun 28th, 2009
Replies: 3
Views: 412
Posted By suretd
Hi All,

I have created a servlet HTMLBank.java which I need to display in my browser. I am using Tomcat as my server. I have saved the class for HTMLBank in:
C:\Program Files\Apache...
Forum: Java Jun 28th, 2009
Replies: 4
Views: 582
Posted By suretd
I would like to ask another question on this thread. How do I link the user ID, that was inserted via the keyboard by the user, to the details of that userID in the database using the prepared...
Forum: Java Jun 28th, 2009
Replies: 3
Views: 682
Posted By suretd
HI All,

Another Question:

I have created another program that queries the StockTracker database for all users and the stocks held by each user. The program compiles, but at run-time i get the...
Forum: Java Jun 28th, 2009
Replies: 4
Views: 582
Posted By suretd
Thank you very much ... i have NO clue why I made it createStatement ... it had to be prepareStatement ...

I think I got the prepareStatement confused with the createStatement, as I was using the...
Forum: Java Jun 28th, 2009
Replies: 4
Views: 582
Posted By suretd
Good Day All,

Not sure if I should post this request here or under the SQL Forum. I am studying JAVA and my code is for JAVA, but my query is regarding the SQL prepared statements to be used in...
Forum: Java Jun 26th, 2009
Replies: 1
Views: 210
Posted By suretd
HI All,

I have managed to find my problem:
In adding my Environment Variable, i ommitted ".;" before my CLASSPATH of C:\Program Files ....

I am now able to compile Servlets ... :)

Solving...
Forum: Java Jun 26th, 2009
Replies: 1
Views: 210
Posted By suretd
Hi All,

I have to compile a servlet WebStocks.java.
It does not compile in TextPad as it cannot locate the javax.servlet packages. I have done my homework, so I know, that the servlet package I...
Forum: MS Access and FileMaker Pro Jun 24th, 2009
Replies: 1
Views: 676
Posted By suretd
Hi All, I am marking this thread as solved. There was a piece of code that I entered incorrectly in the Database Access Class. When I corrected my error, I could run my program withouth any...
Forum: MS Access and FileMaker Pro Jun 20th, 2009
Replies: 1
Views: 676
Posted By suretd
Good Day, I am using an Ms Access Database to design a StockTracker applicaton. The application is used to check the stocks of users. Firstly I need to sign on as an administrator and then be able...
Forum: Java Jun 7th, 2009
Replies: 5
Views: 415
Posted By suretd
Hi All,

I have found my error ... i was missing an "s" in the word CONSTRAINT in creating the UserStocks table.

I feel very silly ... i have missed it again and again and again ... perhaps i...
Forum: Java Jun 3rd, 2009
Replies: 5
Views: 415
Posted By suretd
Hi All,

This code creates the first two tables within the Database (User & Stocks) but the third table (UserStocks) does not get created. I have tried to create it manually as well, by opening up...
Forum: Java May 28th, 2009
Replies: 7
Views: 339
Posted By suretd
When i change the set method to data type void, i still get an error at the line (// if(!student.setCreditHrs(hrs))), now stating that the void data type is not valid here.
Forum: Java May 28th, 2009
Replies: 5
Views: 415
Posted By suretd
Good Day, I am still struggling with this code. I have deleted everything and started from scratch and I still get the same errors. If there is anyone out there that can assist and give me ideas,...
Forum: Java May 28th, 2009
Replies: 7
Views: 339
Posted By suretd
Good Day,

I have an Abstract Class, Student, which has two child classes, FulltimeStudent and PartTimeStudent. I use the class, Test, to test how many credithours each student has and how much...
Forum: Java May 20th, 2009
Replies: 10
Views: 592
Posted By suretd
Thank You, i have made the changes you suggested and it worked PERFECTLY. :D And after reading through the code again, it makes sense now and so does your explanation. Thank You very much for your...
Forum: Java May 19th, 2009
Replies: 10
Views: 592
Posted By suretd
Thank you, i have made the changes and will highlight in red another change that i have made, and now the sort is working. I just have one more question: Why is the sort method that i call to sort...
Forum: Java May 19th, 2009
Replies: 10
Views: 592
Posted By suretd
Thank you for the advice, i have changed the code ... thank you, i initially did not understand why it had to be done, but as i went through my code, i understood. But, it still does not seem to...
Forum: Java May 19th, 2009
Replies: 10
Views: 592
Posted By suretd
I have an action listener added to the menus and i think my bubble sort is written correctly. I have compared it with other bubble sort methods on the net as well and it looks the same, still my...
Forum: Java May 14th, 2009
Replies: 10
Views: 592
Posted By suretd
Good Day All, I have another question: I have done this program to sort a list of artist and their biggest hits, etc. It has 4 parallel arrays that i have to sort alphabetically using the Sort...
Forum: Java May 14th, 2009
Replies: 10
Views: 818
Posted By suretd
Hi All, I managed to solve this query of mine! :)
Please see the code of the addTextToTextPane():

// Add text to JTextPane
public JTextPane addTextToTextPane()
{
// assign text to document...
Forum: Java May 5th, 2009
Replies: 5
Views: 415
Posted By suretd
Good Day All, I have a problem with a database program. The program is to create a database for a Stocktracker program. The details for the code, I got directly from our textbook, and it compiles...
Forum: Java May 2nd, 2009
Replies: 10
Views: 818
Posted By suretd
Yes, the Arraylist is looking much better, the code is more simplified for me.
Not sure how I am going to do the limit for 50, i have read that i can convert an ArrayList to a normal Array and then...
Forum: Java May 2nd, 2009
Replies: 10
Views: 818
Posted By suretd
I need to get the grd[i] = strGrades ... as the strGrades are getting the values.

Or is there a way I can load the values directly into the String grd[] using JOptionPane?
Forum: Java May 1st, 2009
Replies: 10
Views: 818
Posted By suretd
Hi Peter, i am trying to store data into the array from the user input, but that is what i am struggling with. When my code compiles now, i only get 50 null values in the JTextPane :( ... I cannot...
Forum: Java May 1st, 2009
Replies: 10
Views: 818
Posted By suretd
Thank You Peter_budo, that helped quite a lot, I changed the code around just a bit and now at least the text is drawing in to the JTextPane! :icon_biggrin: The only thing, it only draws in null...
Forum: Community Introductions May 1st, 2009
Replies: 1
Views: 254
Posted By suretd
Hi All, my name is Suret and I am from South Africa. I have joined DaniWeb recently as I am starting out in the world of JAVA development. I have found some very interesting info on the site so...
Forum: Java May 1st, 2009
Replies: 10
Views: 818
Posted By suretd
Good Day, I am also a newby to the JAVA world of developing. I am SERIOUSLY struggling with a homework assignment ... I have a swing program that is using a JFrame and the task is to calculate the...
Showing results 1 to 31 of 31

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC