32,199 Topics

Member Avatar for
Member Avatar for pentasoft4u

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 …

Member Avatar for masijade
0
90
Member Avatar for kalaiselvi.v

I have created connection through URL. Now i want to validate user and password in the URl page.

Member Avatar for jwenting
0
77
Member Avatar for Zonr_0

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 …

Member Avatar for jwenting
0
192
Member Avatar for Panarchy

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 …

Member Avatar for Panarchy
0
153
Member Avatar for degamer106

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+ …

Member Avatar for Mouche
0
74
Member Avatar for leroi green

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 …

Member Avatar for mickinator
0
211
Member Avatar for paydfody

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 …

Member Avatar for kmlittle
0
282
Member Avatar for vivek_green
Member Avatar for Ezzaral
0
2K
Member Avatar for ravi_forum

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

Member Avatar for jwenting
0
75
Member Avatar for deeptiarora

Hi can we create an exe file in java and used it anywhere we want without using any jdk/jre deepti

Member Avatar for Ezzaral
0
154
Member Avatar for Grub

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 …

Member Avatar for masijade
0
80
Member Avatar for claudiu_is

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; …

Member Avatar for peter_budo
0
747
Member Avatar for sunithamcsit

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 …

Member Avatar for peter_budo
0
103
Member Avatar for Demonic5

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 …

Member Avatar for iamthwee
0
152
Member Avatar for balagangadharm
Member Avatar for Ezzaral
0
76
Member Avatar for degamer106

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 …

Member Avatar for degamer106
0
2K
Member Avatar for Jurnee

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 …

Member Avatar for naptown
0
208
Member Avatar for lordx78

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 !"); …

Member Avatar for Ezzaral
0
77
Member Avatar for vivek_green

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.

Member Avatar for jwenting
0
104
Member Avatar for flavour_of_bru

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 …

Member Avatar for Ezzaral
0
56
Member Avatar for huskersox

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 …

Member Avatar for masijade
0
102
Member Avatar for Labby77

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?

Member Avatar for jwenting
0
91
Member Avatar for ajay_tabbu

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 …

Member Avatar for ajay_tabbu
0
111
Member Avatar for PL.P27

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 …

Member Avatar for nschessnerd
0
115
Member Avatar for jackskell26

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 …

Member Avatar for jackskell26
0
758
Member Avatar for vladdy19

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> …

Member Avatar for masijade
0
148
Member Avatar for ubercat

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! …

Member Avatar for ubercat
0
157
Member Avatar for satish.paluvai

I am using weblogic workshop 8.1 if anybody is familiar with this plz tell me.how to write the deployment descriptor in that?

Member Avatar for jwenting
0
78
Member Avatar for JVStylez

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 …

Member Avatar for Ezzaral
0
85
Member Avatar for ezzat_hakeem

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 = …

Member Avatar for Ezzaral
0
81

The End.