35,618 Topics

Member Avatar for
Member Avatar for clickranju

Hi i am a web developer i used to create site using php..i have little knowledge on java(only basic school level knowledge)..but now i want to develop software for one of the NGO which is working for helping blind students..that i have decided to build the software in JAVA...the system …

Member Avatar for clickranju
0
145
Member Avatar for subscribeid

Hello, i need a code to insert the values entered in the Text box to a Table in the Same JSP Page. Then the values in the Table should be stored in the database. im using MySQL. Thanks in Advance. Ananth.S

0
53
Member Avatar for youngisthan

need java program to copy the contents typed in client to server in same computer with different ports for both.

Member Avatar for Alex Edwards
-1
65
Member Avatar for ocreds

I try add this code(below) after "else if(token.equals("*"))" in PostfixEvaluator.java but it doesn't work like exponent. Can you help me to figure it out what is the right code for exponent. [CODE=java] else if(token.equals("^")) { val1 = Integer.parseInt(stack.pop().toString()); val2 = Integer.parseInt(stack.pop().toString()); result = val2 ^ val1; stack.push(new Integer(result)); } [/CODE] …

Member Avatar for peter_budo
0
231
Member Avatar for shijunair

hello , I am facing a problem when i am trying to get the difference between two dates which is been taken from html page through datepicker. now i am selecting two different dates with different month.for example d1 dd/mm/yyyy = 12/09/2008 d2 dd/mm/yyyy = 2/10/2008 now i am getting …

Member Avatar for shijunair
0
99
Member Avatar for MxDev

hi guys, how to distribute or relocate the swing components on the holding frame when window maximize button is pressed????

Member Avatar for bops
0
62
Member Avatar for Ajantis

Hello there people! :D I am working with a lab, where we are supposed to finish a Memory Game. We are supposed to create a "Make Move" function, and that it behaves in a correct way. It is supposed to get the X,Y coordinates of where the user klicked, calculate …

Member Avatar for Ajantis
0
102
Member Avatar for letlet_pogs

hello,,can you help me with my problem??if it's okey for you,,, right now,,we are required to make a calculator using only string..ex: i can only use the imports: JOptionPane/BufferedReader Input Mathematical String: 2 + (3*2) Output Result: 8 how can i implement the codes??our told us that we should make …

Member Avatar for peter_budo
0
119
Member Avatar for shelly2373

I have a program i have been working on for my Java class and it is due by the end of this week. My problem is a few things...(1) I do not know how to set the actions on the buttons Save, Delete, Modify and Add. Also I was able …

Member Avatar for deush
0
448
Member Avatar for AllenB

Hello. I am having a problem generating the prime numbers from user input. The problem lies in the factorize method. I think I am really close to getting this to work, but I cannot seem to figure out the last detail that I need to include. Can anyone help? Thank …

Member Avatar for AllenB
0
133
Member Avatar for ravikiran032
Member Avatar for rapperhuj

hi its me again.. curious thingking about how to control a timer statements per clock tick processes with if else statement i would like to perform this operations like; clock.start(); if(clocktime == 1) System.out.println("Hi"); else if(clocktime == 2) System.out.println("Hellow"); clock.stop(); i know this program is an error because of incompatible …

Member Avatar for nsisupalan
0
151
Member Avatar for ceyesuma

in this xml mapping file : [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class dynamic-insert="false" dynamic-update="false" mutable="true" name="travel.Person" optimistic-lock="version" polymorphism="implicit" select-before-update="false" table="PERSON"> <id column="PERSONID" name="personId"> <generator class="increment"/> </id> <property column="NAME" name="name"/> <property column="JOBTITLE" name="jobTitle"/> <property column="FREQUENTFLYER" name="frequentFlyer"/> <set cascade="all-delete-orphan" inverse="true" lazy="true" name="trips" table="TRIP"> <key …

Member Avatar for nsisupalan
0
135
Member Avatar for giudf

My problem is this: I want to call a pege by javascript (the page where I am but with different parameter) onchange="window.location.replace('utenti.jsp?mese=3')" But tomcat don't allow me to do this and give me this error HTTP Status 404 - /CosentinoDiFederico/utenti.jsp type Status report message /CosentinoDiFederico/utenti.jsp description The requested resource (/CosentinoDiFederico/utenti.jsp) …

Member Avatar for nsisupalan
0
1K
Member Avatar for rapperhuj

Hi.. can we control a timer per second process..? i mean.. if i set a timer.setDelay in 1000 milliseconds.. then in the first second it will out "hi" and the second tick of the timer it will say "hello" and so forth... can u help me guys how to do …

Member Avatar for Alex Edwards
0
111
Member Avatar for joshmo

Hey all.. I have 3 classes in my program but Iam having trouble accesing a method in another class. Iam getting the error message cannot find symbol method printInfo(). Below is the code [code=cpp] class Book{ private String author; private String title; private int year; private Chapter first; private Chapter …

Member Avatar for joshmo
0
217
Member Avatar for palavi

i have confusion, like when we give Char var='A';how is it stored in memory???is its value dat is 65 stored in bits??if yes wat is the value of 'a' (smallcase)... the value of A-Z is 65-90, i have program which prints A-Z, [CODE]class chararray{ public void createArray(){ char[] s;//declaring array …

Member Avatar for palavi
0
64
Member Avatar for Ghost

I need to open a .txt file from a website. I tried this code: [CODE] int len = 0; FileReader fr = new FileReader("http://www.cinndev.com/testFile.txt"); BufferedReader br = new BufferedReader(fr); String str = ""; while ((str = br.readLine()) != null) { System.out.println(str); len++; }[/CODE] but the program froze on me. What …

Member Avatar for Ezzaral
0
427
Member Avatar for knight fyre

I'm trying to step-up a simple servlet that processes a get action from a form. When I click on the submit button I get the message. [QUOTE] [B]HTTP Status 404 - /jhtp6/welcome1[/B] [B]type [/B]Status report [B]message[/B] /jhtp6/welcome1 [B]description[/B] The requested resource (/jhtp6/welcome1) is not available. [B]Apache Tomcat/5.0.25[/B] [/QUOTE] I also …

Member Avatar for mariamAbed
0
156
Member Avatar for kevinpeterson22

Hi I am new to MYSQL DB and i am a fresher here i am having code which is perfectly run and the only thing is i have stored the data in file but now i want to stored the file in DB i mean i want to change file …

Member Avatar for jwenting
0
293
Member Avatar for Dio1080

The program compiles but is not run right can somebody help plz? There are two parts a class and a main. [code=java] public class LinkedList56 { private class node{ int data; node next; } //create an empty linked list public LinkedList56(){ first = null; } //return true if the list …

Member Avatar for Dio1080
0
139
Member Avatar for lich
Member Avatar for thillai

Hi everybody, I am new to JSP.So i may ask simple questions to u..i hope anyone will reply me. when and how the Business functions( written in bean )are called? by JSP or anything else

Member Avatar for peter_budo
0
66
Member Avatar for Minimandz

Please could sum1 help me with this: I'm trying to read text from a file using the Scanner class and i'm not sure y its not throwing the FileNotFound Exception try { Scanner sc = new Scanner (new File ("Food.txt")); wordList[num] = sc.next(); while(sc.hasNext()) { wordList[num] = sc.next(); System.out.println(wordList[num]); num++; …

Member Avatar for Minimandz
0
136
Member Avatar for ceyesuma

Hibernate: select trips0_.PERSONID as PERSONID1_, trips0_.TRIPID as TRIPID1_, trips0_.TRIPID as TRIPID1_0_, trips0_.PERSONID as PERSONID1_0_, trips0_.DEPDATE as DEPDATE1_0_, trips0_.DEPCITY as DEPCITY1_0_, trips0_.DESTCITY as DESTCITY1_0_, trips0_.TRIPTYPEID as TRIPTYPEID1_0_ from TRIP trips0_ where trips0_.PERSONID=? I got this output(above) when I did a System.out on a List. Does this make sense to you. I …

Member Avatar for ceyesuma
-1
160
Member Avatar for madhavipoudala

hai every one who can help me. i want to know some demo projects in java where we can find them. please help me giving some websites and how to search in google. thanks in advance one and all.

Member Avatar for madhavipoudala
0
116
Member Avatar for Natique

Hi :) I was messing around with java applets just now, and I can't seem to figure out how to put more than one event handler in an applet. I'm just working on a really simple calculator. Three buttons, one to add, one to subtract and one to clear everything. …

Member Avatar for Natique
0
187
Member Avatar for ravikiran032
Member Avatar for jwenting
0
154
Member Avatar for ravikiran032

I was being troubled by the concept of abstract class.i can't understand that let us take an example abstact class "InputStream" .we can implement method read(byte[]) with it's reference. how does this method is being refferred by it's abstract class as there will be no instantiation to this abstact class.

Member Avatar for Ezzaral
0
130
Member Avatar for ebok

hi everyone, im trying to run a linux script in java where it ask the user to input a password,then when suucessfully executed it prompts the user to enter the same password for verification,how can i do this in java,im using trilead to remotely access and execute command,im having problem …

Member Avatar for ebok
0
134

The End.