32,199 Topics
| |
hi all i am new to java i want to run java php bridge as described [URL="http://php-java-bridge.sourceforge.net/doc/tomcat6.php"]here[/URL] now i am getting the following error [CODE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could … | |
hiya i am looking if someone can help me create this in java there is an attachments alongside this | |
Can anyone help me out in giving connection between two different applets.I have done two separate applets in NetBeans.I need to display second applet once i click on the "next" button in 1st applet. | |
Hey Everyone, i cannot print the value of Username in the JSP. i am using a java bean, but i am instiating the bean object twice in two servlet, one for form data and one for username. the bean contains the respective setUsername and getUsername, but this is not printing … | |
Hi guys, I am doing a Java project. For now it's just a program but this program is to be used through the semester. I have hard time thinking what class to work. We need to create a class of anything like cheese, cars, rectangle etc that we will be … | |
hi all i have 2 systems connected in lan.i have to access the system 1 Database from system2 using mysql odbc connector.if i give localhost in the hostname then give username and password of system2 in the corressponding places now i can get the list of databases from system2 mysql … | |
guys, need help... Im currently working on a project with jasper report. it seems that the pdf file (report) runs on a browser succesfully without a subreport in Glassfish server but when there is a subreport the error occurs. ive been working with this problem since last week and im … | |
Hello; What would be the most efficient way to get all of the 2^24 network identifiers for the given A class IP address. I am aware it is a very stupid question, and a inpractical one for that matter but thank you for any input. Im trying to speed up … | |
hello, I am in the process of working on a design project for my fourth year of uni and am running into some trouble. At the moment, we have a serial communication coming from an Arduino and displays in the console box of Eclipse. Each lines displays. However while this … | |
Hi I wanted to create a erdos-renyi random graphs with ErdosRenyiGenerator class in Jung. Please help me in fulfill the parameters of this class . Thanks. | |
Hello! So I've been working on a 1D array that represents a school bus that can hold up to 10 children. The array needs to have names put into it in the first available 'seat'. I've constructed code to do so, but something seems to be wrong. The findFirstEmpty method … | |
I have an idea in mind. I want to create a Terminal (Windows Command Prompt) based completely in Java, capable of creating, compiling, editing, etc for Java files. I would like this to also resemble the look of Terminal/Command Prompt. Being the black background, and the text start like below. … | |
Hi; This is a code that I got from the examples in Oracle in using the javax.print When i try to compile and run a get an error saying javax.print.PrintException: java.lang.IllegalArgumentException: URI is not hierarchical [CODE]package printtry; /* * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. * * This … | |
[CODE]package test; import java.util.Scanner; public class Test { public static void main(String[] args){ Scanner kbReader = new Scanner(System.in); System.out.print("Choose mode (\"words\" or \"symbols\"): "); String mode = kbReader.nextLine(); if ("words".equals(mode)) { String oa = " plus "; String os = " minus "; String om = " times "; String … | |
Can anyone help me put this code into seperate methods? [CODE] public static void Main(String[] args) { String num1String = JOptionPane.showInputDialog(null, "Please enter your first number"); String num2String = JOptionPane.showInputDialog(null,"Please enter your second number"); String num3String = JOptionPane.showInputDialog(null, "Please enter your third number"); Double num1 = Double.parseDouble(num1String); Double num2 = … | |
Can anyone tell me why I keep getting a value of 0 returned? [CODE] public static void main(String[] args) { double getSum = 0; double getAverage = 0; String num1 = JOptionPane.showInputDialog(null, "Please enter your first number"); String num2 = JOptionPane.showInputDialog(null,"Please enter your second number"); String num3 = JOptionPane.showInputDialog(null, "Please … | |
hello, I prepare an application uses the result of the command prompt (Runtime.getRuntime (). exec (cmd)) for a command already entered, and displays it in a Textarea, but I notice that if I use a modal box the problem persists, my problem is that this application is in frensh,if any … | |
I want to make a simple game in java please help me to decide topic and selecting. | |
| Is it possible to optimalized Voice recognition using pronounciation and Voice Colour?? |
[CODE]import java.io.*; import java.util.*; import java.lang.*; class Files { public static void main(String args[]) { char ch; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); FileOutputStream f=new FileOutputStream("yo.txt",true); while(ch=br.read()!='%') { f.write((int)ch); } f.close(); } }[/CODE] it shows an error at while(ch=br.read()!='%') saying incompatible type,though i tried typecasting.. please help | |
which one of best in java struts1.3 struts2 Regards [URL="http://www.supportcorporate.com/staff-augmentation.php"]Staff Augmentation Services[/URL] | |
Hello Daniweb, I can't wrap my head around this minor issue. Maybe it's a known bug and I just can't find the right keywords to google it or maybe it's supposed to be like this. Let me know what you guys think. [CODE] public class TestPostfix { public static void … | |
Ok so my university has assigned me the task of creating a brick breaker game for android phones (full spec below). What I would simply like to know is[B] which design pattern I should be using to structure my program?[/B] If I should be using more than one which should … | |
| Hello, The following is my requirement. The user writes a blog. It contains a heading, few keywords and the content. The user then submits the blog. Before getting stored, the content section of the blog must be scanned using [url]http://www.webconfs.com/keyword-density-checker.php[/url] There will be a **library containing the keywords related to … |
how to get mysql username and password using java of the MySQL install on system. | |
Hi, I have an XML file looks like this <node> <node2><node3>1</node3></node2> <node2><node3>2</node3></node2> <node2><node3>3</node3></node2> </node> I am trying to read one child into a string I want my string to look like that : <node2><node3>1</node3></node2> [CODE] File xml = new File("json.txt"); SAXReader reader = new SAXReader(); Document doc = reader.read(xml); Element … | |
Hello, My question is if I have program programmed by matlab and I want program an interesting interface using another program language such as java ,can I do that? Please give me suggestions about programming wonderful interface using matlap or any other language can integrated with matlap because the original … | |
Hello, I am creating simple an applet to draw a registration form based on the selected item within the awt choice object. I have include a radio button, choice list and button. My problem is when running the Applet...the choice list is blinking and when I maximized or minimise frame … | |
I have a problem with sockets. I am using this code in java as the client: [CODE] class Javaclient { private static DataInputStream input; private static PrintStream output; public static void main(String argv[]) throws Exception { int PortNumber = 4321; String line; BufferedReader in; Socket MyClient = null; try { … | |
Hi guys well what I'm trying to do is produce a query that only produces the results which will match my director input. I have looked for the correct syntax and cannot seem to find it. Any help would be appreciated Code of my syntax below: [CODE] ResultSet results = … |
The End.