35,618 Topics
![]() | |
I have created connection through URL. Now i want to validate user and password in the URl page. | |
Hi! Haven't posted on danniweb for awhile, but I'm hoping I can get some help. I am in the middle of learning Java, which will be my second language after python, and I have come across a problem, ordering a list of integers in an array. In python, there's a … | |
From form on page A, I am retrieving submitted values on page B.jsp. Page B is creating new PersonData class from those dates (using [code]request.getParameter("any_param_name");[/code] ) and adding it into some kind of collection. Problem here is, that after reloading page B again, parameters are left, and new PersonData is … | |
Hello! I was wondering if anyone has a forum backend, in java? I know a bit of python myself, but I want the backend (working backend for a forum) I am going to make the frontend myself (in html, not php, has to be html) Please provide it! Thanks in … | |
I'm supposed to design a method that takes in a double value and translates the value into the closest letter grade. 4,3,2,1,0 denote A, B,C,D,F, respectively. + increases a grade's numerical value by 0.3 and - decreases a grade's numerical value by 0.3. There is no F+ or F-. A+ … ![]() | |
Hey all, I've tried not to ask questions for like a week or two but, I've got the Introduction to Java Programming (sixth edition) and I'm doing the Exercise 7.2 'The Fan Class' where I am to; Design a class named Fan to represent a fan. They have the UML … | |
This code is meant to be a simple quiz, but I am getting 4 errors that I cannot figure out. Thanks in advance. import java.io.*; public class Quiz { public static void main(String args[]) { int correctCounter; InputStreamReader reader; BufferedReader buffer; keyboard = new BufferedReader (new InputStreamReader (System.in)); } String … | |
Hi, Can someone tell me how to identify a carriage return character in string | |
Hi , Is there any one help me to write the java code for displaying all [B]compatible system time zones[/B] and setting the required time zone among those list. Thanks and regards | |
Hi can we create an exe file in java and used it anywhere we want without using any jdk/jre deepti | |
Hi everyone Can sum1 tell how to export data on an excel file from the click of the button which is there on the jsp page.The Data first should appaear on the jsp page and only when the user/client clicked on button then the data get exported to the excel. … | |
Hello. I have a problem. I have a table with employees and some data. I want to generate a xls with that data. How do I do that ? Thanx. | |
Hi, I have a project on which I am working. I have two classes. A box Class which is of an undefined capacity and is only defined when an instance of the box class is made and I have an item class of which instances of it must be stored … | |
I`m trying to compile a small program for authentication on a torrent site but when it reaches the [B]setRequestProperty()[/B] line throws an exception: [COLOR=Red]Exception in thread "main" java.lang.IllegalStateException: Already connected at sun.net.[URL="http://www.protocol.http.HttpURLConnection.setRequestProperty%28Unknown"]www.protocol.http.HttpURLConnection.setRequestProperty(Unknown[/URL] Source) at MovieCrawler.main(MovieCrawler.java:22) [/COLOR]I understand that [I]something[/I] is [I]already connected[/I]! How can I disconnect before using this method; … | |
hai everybody I am beginner to J2ME, I need to know the things that how one can run the Java class file in mobile, for example I need to run c=a+b program that is in java class file in mobile. and also can anyone suggest me some important material links … | |
ok the goal of the project is to define a class called DateCS212 and use an array of DateCS212 objects to store a sequence of dates. The main program, Project2.java, will read the dates from a file and will instantiate a DateCS212 object for each date read from a line … ![]() | |
hi cany anyone help me how to upload and download an audio file using jsp | |
Ok, so my goal is to draw a rectangular spiral in java. So far, I've created the Spiral Viewer class and the SpiralComponent but I'm not quite sure how I would implement the SpiralGenerator class. Here's what I have: SpiralViewer: [CODE]import javax.swing.JFrame; /** Test driver for Spiral class. */ public … | |
After hours of searching for for a nice looking drop-down menu in CSS I found the perfect one on the Dynamic Drive website. It's working wonderfully - as long as I don't try and position it anywhere on the page except for the default position. As soon as I moved … | |
import java.util.*; import java.io.*; class Week3Question2 { public static void main (String args[]) { TreeSet OldAccount = new TreeSet(); TreeSet CurrentAccount = new TreeSet(); TreeSet PseudoAccount = new TreeSet(); try { RetrieveAcc(OldAccount,CurrentAccount); } catch(Exception exc) { System.out.println("No such file!"); } try { WriteAcc(OldAccount,CurrentAccount,PseudoAccount); } catch(Exception exc) { System.out.println("Process failed !"); … | |
You will have to implement the DICE (drop if course exceeds) feature of boss. DICE works as follows: If a student is allowed to bid for n courses (say 5 course), DICE will let the student bid for an additional course if the following criteria are met Student has enough … | |
HI, Can someone tell me if two static hashtables declared with the same name in two different classes will cause ambiguity while acessing in each other classes without refering them with class Name. | |
Hi, I am presently trying to display an XML document as a tree structure. I am able to do it using JTree and SAX Parser. Now I would like to get the parents of all non-leaf nodes and display them as sub-trees. Does we have any function in JTree where … | |
In this assignment you will use a sentinel controlled while loop to determine gross pay for any number of employees. The company pays "straight time" for the first 40 hours worked by each employee and pays "time and a half" for all hours worked in excess of 40 hours. There … | |
Hi, is there any website have a lots of sample code and eg. to download. I'm quite new to JAVA cos no sticky threads for this. & also how can I do a simple buttongroup with captions? | |
I want to do a very simple task. I want to have a drop box and display (in the same page) the user input as soon as the user makes his choice. There must be no button involved. I dunno how to pass the values of the forms w/o using … | |
I m working with applets.but i got struck.I want to explorer directorys and file in Brouser (just like as we open my computer by right click explorer). but i m finding problem in that which java class and method i should use.As when we work without applet it's is simple … | |
Hi everybody, I'm new to GUI and was wondering if someone could help me with my fraction calculator if they input text in the fields or if they leave something blank. I'm not quite sure how to do that. Here's my code, and if someone could guide me to how … | |
Hello Everybody. This program needs to use an array to count the amount of times a certain roll appears on the dice, after the user enters how many dice and rolls they would like to use. I was able to figure out the code to print out the values of … | |
I'm writing a code that is using ArrayList this is the part that is giving me the error. There are several instancses of this error but I figure that if I can get once fixed I can fix them all. [CODE] ArrayList <Student> studentList = new ArrayList <Student>(); ArrayList <Course> … |
The End.