32,204 Topics

Member Avatar for
Member Avatar for syed.ijaz

Our company is doing a project for the City of Chicago and we are trying to communicate with their servers using web services. Their environment is java based but we are using .NET on our end. The problem we are currently facing right now is that we are not able …

Member Avatar for jwenting
0
214
Member Avatar for ketz_01

[COLOR=Black][COLOR=Blue]Ok, firstly im new to this java thing...but i think its still exciting to do. but i have an error now...[/COLOR][COLOR=#0000FF][COLOR=Blue].. cannot find symbol symbol: constructor Employee location: class Employee Employee e = new Employee (" info"); and the arrow tingy pointin by the word new...so im wondering wat is …

Member Avatar for iamthwee
0
76
Member Avatar for mitaldoshi

I am a student of comuter enginnering 6thsem. I have to make a project based on java. Please help me by suggesting an award winning project.

Member Avatar for jwenting
0
93
Member Avatar for ronakp25

Hi I am migrating my application from Websphere to JBoss. My whole application is in app folder.(I have defines csc as env variable which points to my app) Can anyone tell me where I can spceify classpath of my application in configuration files in [B][U]JBoss[/U][/B]. Like in websphere I sepecify …

Member Avatar for jwenting
0
84
Member Avatar for cms271828

Hi again, can anyone explain why the code below doesn't execute the attributeAdded(...) method [CODE] package pack1; import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; public class ShowFrame extends HttpServlet implements ServletContextAttributeListener { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.getServletContext().setAttribute("name","cat"); String v=(String)this.getServletContext().getAttribute("name"); response.setContentType("text/html;charset=UTF-8"); PrintWriter out = …

0
57
Member Avatar for ryy705

Hi, I just installed MySQL on my computer and went though a decent MySQL tutorial. Now I need you guys help me out so I can get my java programs to connect to MySQL. I am using the following code from a book to connect. [code] import java.sql.*; public class …

Member Avatar for ryy705
0
456
Member Avatar for Cudmore

Hi! I'm looking to learn something today, and I have just the question. In writing a recent program, I found no Java method suited to compare two byte arrays. Maybe the method exists, or maybe not. In any case, this is a learning expedition, and I came up with a …

Member Avatar for jwenting
0
121
Member Avatar for Talon

Hi, I've got a project in which I need the program to reject a sentence if it has a certain word in it using StringTokenizer. Here is what I have so far [code] import TerminalIO.*; import java.util.*; public class Censor { public static void main(String args[]) { KeyboardReader reader = …

Member Avatar for Talon
0
141
Member Avatar for sandeepmuleymca

hi , i got project which already developed in c/c++ as visual studio project so i have to convert it into the java so can u give any information regarding whether any tool is available for conversion or suggest me any way to do this in short time waiting for …

Member Avatar for vegaseat
-1
107
Member Avatar for jlord05

:cheesy: pls help me on my project!!! you must input 5 numbers and the program must find the smallest from the five inputs then subtract the smallest from the other inputs..pls help me and pls show the source code:cheesy:

Member Avatar for jwenting
0
70
Member Avatar for cassyjack

Can someone take a look at this. Create a method called findElement, which takes an integer value and a two-dimensional integer array as inputs and returns true if the value is in the array. If the value is not in the array, the method should return false. This is what …

Member Avatar for Infarction
0
150
Member Avatar for dami06

Hi guys, I have a problem in a GUI i am trying to build. Below is the question and I was hoping you could help me out with what to do. Basically, I have do the first program which is to create a GUI but I am having a problem …

Member Avatar for iamthwee
0
102
Member Avatar for mzd12111

Hi everyone , my problem is that : i Wrote a game program (applet) but when the Applet starts , user must click on it to activate it , how can i do to my applet that when it starts , it Activate itself automatically Thanks in anyhelp

Member Avatar for iamthwee
0
62
Member Avatar for V KUMAR

var head = headElement.firstChild; var headTable = headElement.firstChild; var body = bodyElement.firstChild; var bodyTable = bodyElement.firstChild; var a = body.offsetWidth; alert(a); var scrollBarWidth = body.offsetWidth - body.clientWidth; headTable.style.width = Math.max(0, bodyTable.offsetWidth + scrollBarWidth);

Member Avatar for hollystyles
0
90
Member Avatar for Klitzy

Hi guys...I am currently writing a program and it compiles fine but when I run it it says... Problem with input/output IOException:Null Problem with input/output IOException:Null I have two files in it and I dont know what to check anymore...Anyone have any idea on what I need to look at?

Member Avatar for mzd12111
0
109
Member Avatar for Thinka

Hi, I am new to Java, and have been trying to write a program that calculates the square root of a number using the Babylonian/Heron method. I have been able to make it work, largely due to a lot of help from a PhD student. So yeah, what I'm trying …

Member Avatar for Thinka
0
155
Member Avatar for umadas

package umadas.examples; import java.io.*; import java.util.*; class Counters { int iCount = 1; } public class Wordfreq { public static Reader r; private static String str=""; public static void main(String args[]) { try { r = new BufferedReader(new FileReader(args[0])); fnWordFrequency(); r.close(); } catch (IOException e) { System.err.println(e); } } public …

0
76
Member Avatar for Covinus

i need to access a variable from a class to another class currently running at the same time. my plan is to: Save the values of the variable to a file and access it from the other class other options i have Use a database use RMI what other features …

Member Avatar for Covinus
0
100
Member Avatar for umadas

package umadas.examples;import java.io.*;import java.util.*;class Counters{int iCount = 1;} public class Wordfreq { public static Reader r; private static String str=""; public static void main(String args[]) { try { r = new BufferedReader(new FileReader(args[0])); fnWordFrequency(); r.close(); } catch (IOException e) { System.err.println(e); } } public static void fnWordFrequency() { HashMap map …

Member Avatar for jwenting
0
154
Member Avatar for cassyjack

Can someone please take a look at this for me. I have to create a program that models a simple card game. I have to shuffle the card and deal 1 card at a time and display the card that I have dealt. Not sure how to do this. The …

Member Avatar for peter_budo
0
303
Member Avatar for fawadhusain

Hi everyone, Does anyone knows, where i could find a java implementation for the Latent semantic analysis technique/algorithm ( eg for word/document) or even just how to decompose a matrix using SVD(singular valued decomposition). I need the code preferably in jave ( or c/c++ and i will code in java …

0
33
Member Avatar for dowen

and when i add a new int data type my program has an error and yet when i add a new String data type it has no error // objectSort.java // demonstrates sorting objects (uses insertion sort) // to run this program: C>java libmainsys //////////////////////////////////////////////////////////////// [code] class libary { private …

Member Avatar for Phaelax
0
96
Member Avatar for rpjanaka

hi all, i am using the tomcat server.. can i show the java out puts(System.out.println) on the browser that is issude from java classes, not from the jsp pages. i think there may be a way to change the configuration in the tomcat server.. thanks..

Member Avatar for masijade
0
568
Member Avatar for ronakp25

My application is running over websphere. Now I want to run my application over JBoss.I don't have any idea about JBoss deployment process.My whole application is in .ear file which contains my frontend part.Backend is in seprate .jar file.Which is created during build.Now how can I deploy my application.What changes …

Member Avatar for masijade
-1
90
Member Avatar for parthiban

Hi all , I'm having problem during parsing xml files using DOM API due to whitespace characters. Here is my sample XML File ,coding and output : XML File : [code]<demo> <empid>e100</empid> </demo>[/code] Coding : [code]import java.io.*; import org.w3c.dom.*; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; class demo{ public …

Member Avatar for jwenting
0
236
Member Avatar for ankit_the_hawk

I am going to start off with Java, already knowing C/C++ So i needed to know which compiler should i download for the purpose of programming on Java ( for the Windows platform). (which consists of the editor, compiler,etc.) I need something i can download from the internet like Dev …

Member Avatar for aniseed
0
153
Member Avatar for Katrin

:!::!::!::!: I have an Assignment and Iam very new In [COLOR=DarkRed][U][B]JAVA LANGAUGE [/B][/U][/COLOR] , Anyways I need some help if someone can help me i will be very thankful, really i need it !!! :?: I need a code in Java , that maked a [U][B]SMall[/B][/U] program , that let …

Member Avatar for jwenting
0
99
Member Avatar for vergopi

Hi, I have a very difficult problem.Perhaps a good Java programmer can solve it. I want to open a Java chart (it can found on [url]www.wdsoftware.com[/url]) not from a computer but from a PDA.I have a Fujitsu-Siemens Loox 720 (520Mhz CPU,128 RAM,64 ROM).I use Netfront 3.3 with JV-Lite2 as web …

Member Avatar for jwenting
0
102
Member Avatar for skol10

I have already turned this so my grade will off anyway but I just need to know. I cannot get the right figure for this calculation, here is what I have and it gives me the wrong calculation of 7178. when its supossed to be 1167. Any help would greatly …

Member Avatar for skol10
0
192
Member Avatar for Covinus

--------------------Configuration: <Default>-------------------- C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ C:\Documents and Settings\mykel\Desktop\auto.java:4: unexpected type found : char required: reference Set <char>setAlpha = new HashSet<char>(); ^ 2 errors how come i cant cast a char on a set??? it works well with …

Member Avatar for jwenting
0
200

The End.