32,204 Topics
| |
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 … | |
[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 … | |
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. | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 = … | |
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 … | |
: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: | |
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 … | |
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 … | |
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 | |
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); | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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 … | |
:!::!::!::!: 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 … | |
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 … | |
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 … | |
--------------------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 … |
The End.