32,205 Topics

Member Avatar for
Member Avatar for yap_1991

Hi all, Im currently working on a FTP program that downloads all files in a directory. Currently, I am able to list all the files in that directory, but I am stuck as on how to download all of them automatically. Would need some help in this. Thank you. [CODE]import …

Member Avatar for NormR1
0
109
Member Avatar for prem2

Hi daniweb team, Can any one know how to access Memcache value in java.? very urgent ! Thank you, With Regards, Prem

Member Avatar for JamesCherrill
0
37
Member Avatar for appunu

Hello guys, I am on the process of doing a java code which should read the excel file to get the values from the excel sheet to use them in my selenium test cases. I have problem in iterating through each row to check them in my test cases sequentially. …

0
74
Member Avatar for runee1000

Hi: For the longest time, I have been using the IDE "JCreator". I made previous games on it in the past for school, and when it would come to me implementing a background image in my game, I would make a background class, and have the image in my project's …

Member Avatar for runee1000
0
201
Member Avatar for nitrate

I'm doing an individual final year project using IBM Aglet, JRun and J2ME. The topic is "Mobile agent shopping system", better with some theories. I have no idea about what types of application should be done. Initially, I intended to build a system for the customers to search for the …

Member Avatar for nutan phalke
0
233
Member Avatar for gajendrancs_kcg

hi sir, i am gajendran doing engineering in kcg college of Technology in chennai.i planned to do project on j2ee for hospitals management.so i need some idea on hospitals management services.

Member Avatar for maceman
0
88
Member Avatar for cleve23

Is there a module in python that i can use to parse javascript??? I finding a module that parse out the error message like what the cssutils do when checking on css script. Thanks

0
54
Member Avatar for himit

Hi, I've an XML document and I am creating another XML using XSL. I need to check some specific conditions and for that I want to use Javascript in my XSL. I tried it, however, couldn't get the desired result. As I could not change the XSL variables frequiently so …

Member Avatar for fpmurphy
0
256
Member Avatar for dylgod

I am writing program that will eventually calculate the speed of sound though a medium using the switch function, but am unable to get it to read the numbers I input, here is the code if anyone can offer some pointers. [CODE]import javax.swing.JOptionPane; /** *This program calculates the time it …

Member Avatar for tong1
0
110
Member Avatar for student.09

[B]PROGRAM:[/B]Design a class named Rectangle to represent a rectangle. The class contains: Two double data fields named width and height that specify the width and height of the rectangle. The default values are 1 for both width and height. A string data field named color that specifies the color of …

Member Avatar for tong1
0
181
Member Avatar for mith_cool

What is the use of requestdispatcher in java? I know it is used to forward requests to servlets. But somebody could give me example or i mean to say a scenario which will prove effective in understanding this concept....

0
61
Member Avatar for VJTechno

write a program that will identify the longest substring in two given strings that is common to both.

Member Avatar for VJTechno
0
156
Member Avatar for rowley4

I have a program that I need to print out a in the following manner: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 …

Member Avatar for rowley4
0
71
Member Avatar for Xufyan

whats wrong with my program ? [CODE]public class divisible { public static void main(String args[]) { int[] divisible; divisible = new int[] {4,9,25,144}; for (int i=0; i<divisible.length; i++) { if (divisible[i]%5== 0) System.out.println(divisible.length); } }[/CODE] I want to print the total elements in an array that are divisible by 5 …

Member Avatar for tong1
0
96
Member Avatar for qdiscoverer

Hi! I'm trying to save/load all my program's data with just one big serialization.(I'm really depending on this) Below are the codes I used to test serialization---but it seems that something is wrong with it. I'm too confused, since I learnt serialization as a 'magical genie' kind of thing that …

Member Avatar for qdiscoverer
0
118
Member Avatar for khRiztin:)

i need to make a simple paint application using java where i need the function of BRUSH. i don't know much about UI. please help me. thanks.

Member Avatar for khRiztin:)
0
783
Member Avatar for avisecjena

hi,....i wanted to develop a web application using java .... I know servlet,jsp,struts,hibernate...bit of spring and EJB could u suggest some good project idea ..... i was thinking of doing a toprated movie database....any other suggestion is welcomed or what could be the possible features ....

Member Avatar for peter_budo
0
86
Member Avatar for shahin_198
Member Avatar for matwe

hi.. can anybody help me to list a few java security problems and its solution? i hope somebody will help me.. thanksss..

Member Avatar for tong1
0
86
Member Avatar for usiyalla

hi guys i'm new in java and this site too i was making a small program but this mismatchexception making me angry i really appreciate if u answer my these stupid questions 1. what is token... 2. Exception in thread "main" java.util.InputMismatchException at java.util.Scanner.nextInt(Unknown Source)[/TEX][/TEX][/TEX] at java.util.Scanner.nextInt(Unknown Source) at Main.check(Main.java:63) …

Member Avatar for NormR1
0
1K
Member Avatar for coding101

Why is the debugger showing that it is skipping my loop in this method [CODE] /** * Adds an item to the list. This method assumes that the list is already * sorted in alphabetical order based on the names of the items in the list. * * The new …

Member Avatar for coding101
0
114
Member Avatar for TheComputerGuy

Morning to all those Daniwebbers out there! I have what I thought was an odd task of converting a String into an INT. I know of the parser Integer.parseInt(x) However if the user enters 02/14/2010 the / are not an INT type. I've thought about using substring possibilities. Taking substring …

Member Avatar for ~s.o.s~
0
185
Member Avatar for WargRider

Well, I am writing a game / engine in 2d in , and I have gotten quite far, my problem is I was reading some stuff about the engine Slick2D, which is pretty much one of the most popular 2d engines in Java, I noticed that the creator said he …

Member Avatar for WargRider
0
294
Member Avatar for avataralien

I am not sure what is wrong with my While Loop because if select ("Press 0 to edit info."), I will not get prompt for "Name" anymore. Another thing is my exception does not work. I wanted to deny user from entering alphanumeric under "Mobile". Only numeric allowed here. Pls …

Member Avatar for avataralien
0
115
Member Avatar for Ubraxis

I require some help with a program I've got to write, the theory behind it is based around OOP, but I'm having trouble grasping what exactly I should be doing. I'm not entirely sure how to call the addProperty method from the Property class, or even that I've written out …

Member Avatar for Ubraxis
0
99
Member Avatar for aryanarora

Hey i m new in java please tell me the delay function in java lika it works in c/c++.

Member Avatar for tong1
0
72
Member Avatar for manailz

public class HelloW { public static void main(String[]args) { println("hi, im aileen an it student, can you help me improve my knowledge with the different languages?"); println("thanks"); } }

Member Avatar for tong1
0
149
Member Avatar for tong1

/* The following programs are written to guard the input. The input is requested as an non-negative integer.Is there other method to do so? */ /* Operation on DOS window: "PositiveInt1" receives a positive integer only. */ import java.util.*; public class PositiveInt1{ static int factorial(int n){ int fac=1; if ((n<0) …

Member Avatar for NormR1
0
129
Member Avatar for prem2

Hi, I have a few basic doubts in java . Statment: class MainExample1 {public static void main(String[] args) {}} class MainExample2 {public static void main(String []args) {}} class MainExample3 {public static void main(String args[]) {}} 1.What is the difference between the above three statments.? 2.Why main method should be declared …

Member Avatar for tong1
0
108
Member Avatar for tong1

/* In the following method, why the factorial goes wrong when n>12 ? */ static int factorial(int n){ int fac=1; if ((n<0) || (n>12)) return -1; for (int i=2; i<=n;i++) fac *=i; return fac; }

Member Avatar for tong1
0
1K

The End.