32,199 Topics
| |
Hi, I need some help from all of you. I am using JRun4 servers we are facing some problem without running Precompile jsp. We need to pre-compile the JSP for that we need some java code to perform this pre-compilation for http and https request. We don't want to Using … | |
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 … | |
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, 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 !"); … | |
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 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> … | |
Hi all. I'm a new user here. Some of you may have noticed a thread I started in C++ a few weeks ago. I'm actually taking C++ and java classes simultaneously. It might not have been a good idea, but I had no real choice. It's good immersion in programming! … | |
I am using weblogic workshop 8.1 if anybody is familiar with this plz tell me.how to write the deployment descriptor in that? | |
Good evening all. I have what i think is a simple problem. I created this program to get info from the user and store it into an array. ( i am very new at this so if there is a better way please feel free to elaborate) . basically i … | |
my problem is I have socket between server and a client the client sending data to the server, so the server respond to the client with the response this my code for receive the response data ---------------------------------------------------------- os.write(getAuthenticationRedGreenInfoString()); os.flush(); Thread.sleep(3000); DataInputStream is = new DataInputStream(mySocket.getInputStream()); int rr; int nn = … |
The End.