32,199 Topics

Member Avatar for
Member Avatar for baig772

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 …

Member Avatar for NormR1
0
705
Member Avatar for furqanishaq

hiya i am looking if someone can help me create this in java there is an attachments alongside this

Member Avatar for stultuske
0
166
Member Avatar for srikarreddyd

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.

Member Avatar for NormR1
0
27
Member Avatar for 03hasnam

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 …

0
62
Member Avatar for ravsau

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 …

Member Avatar for StephNicolaou
-2
256
Member Avatar for sjohnfernandas

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 …

Member Avatar for StephNicolaou
0
256
Member Avatar for jet101

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 …

Member Avatar for tamseo
0
1K
Member Avatar for Joey_Brown

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 …

Member Avatar for Joey_Brown
0
139
Member Avatar for pink_sapphire

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 …

Member Avatar for JamesCherrill
0
1K
Member Avatar for rezaieit

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.

0
32
Member Avatar for wonderlandslost

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 …

Member Avatar for wonderlandslost
0
333
Member Avatar for Vampiricx3

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

Member Avatar for DJSAN10
0
234
Member Avatar for Zaad

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 …

Member Avatar for Zaad
0
4K
Member Avatar for VIEBlitz

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

Member Avatar for VIEBlitz
0
163
Member Avatar for computerdude87

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

Member Avatar for NormR1
0
80
Member Avatar for computerdude87

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 …

Member Avatar for computerdude87
0
126
Member Avatar for kalcio

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 …

Member Avatar for kalcio
0
339
Member Avatar for axymak

I want to make a simple game in java please help me to decide topic and selecting.

Member Avatar for uurcnyldrm
0
69
Member Avatar for rnlds.walfrets

Is it possible to optimalized Voice recognition using pronounciation and Voice Colour??

Member Avatar for Majestics
0
48
Member Avatar for mallikaalokam

[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

Member Avatar for stultuske
0
133
Member Avatar for aanshik

which one of best in java struts1.3 struts2 Regards [URL="http://www.supportcorporate.com/staff-augmentation.php"]Staff Augmentation Services[/URL]

Member Avatar for DavidKroukamp
0
83
Member Avatar for bloodbender

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 …

Member Avatar for bloodbender
0
129
Member Avatar for tomtaila

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 …

Member Avatar for NormR1
0
515
Member Avatar for vijiraghs

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 …

Member Avatar for NormR1
0
109
Member Avatar for rushikesh jadha
Member Avatar for stultuske
0
290
Member Avatar for breakid

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 …

Member Avatar for stultuske
0
132
Member Avatar for cs_1000100

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 …

Member Avatar for cs_1000100
0
258
Member Avatar for miramiey

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 …

Member Avatar for JamesCherrill
0
221
Member Avatar for Jnk

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

Member Avatar for Jnk
0
249
Member Avatar for TIM_M_91

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

Member Avatar for javaAddict
0
114

The End.