36,051 Topics

Member Avatar for
Member Avatar for sam18

I want to display result when a student enter their rollno in a text box and click on the submit button. I know there are errors as i have tried many times before and each time i have changed it so Please help me in locating errors.I need it early. …

Member Avatar for Juma
0
158
Member Avatar for it2051229

am creating a calculator using net beans IDE so yeah i made 0 - 9 buttons.. although seems like i dont want to create an event handler on each number cause it's like a waste of time.. is it possible that the zero to nine button can only trigger one …

Member Avatar for jwenting
0
91
Member Avatar for cutseyPrincess

Hi, I am in my final year for IT and have to submit a topic for my final year project in 4 days. I have to use Java(core) and J2EE something related to client-server. I am totally confused. Please help. Just give me some interesting topic ideas. Any thing else …

Member Avatar for Ancient Dragon
0
277
Member Avatar for abhi287

Hi I m developing an application in which i want to compare a String with string[]. Means i m having array of names which i m displaying in a table..Then i m changing some names in table dynamically by some processing and adding new names to the table... While replacing …

Member Avatar for abhi287
0
115
Member Avatar for svijayakumaris

Hello, please help me. I am using NetBeans 5.5.1 inbuilt Tomcat for my web application. When ever Nullpointer or ArrayIndexOutofBounds exceptions occurs in the BundledTomcat Log, all the information appearing in the BundledTomcat and BundledTomcat Log is getting cleared in the output window. And I am unable find what is …

0
62
Member Avatar for swdev

dear all, I know how to correctly execute SQL statement using con.execute() (where con is type of java.sql.Connection). But how can I execute Microsoft Access Query Object, which require one or more parameters? Do we need to use PrepareStatement ? Thanks

Member Avatar for swdev
-1
174
Member Avatar for oneguy

Any hints in converting this C++ code to java [url]http://pastebin.com/f2db2b32e[/url] I have pretty good idea what is going on in main () , but I not sure about the top template part and the class called Moron :) The program just reads a text file counts up the frequency of …

Member Avatar for Ezzaral
0
109
Member Avatar for dav555

Does somebody know a better tool as the "Resource Bundle Manager" for managing translations/resources ? [URL="http://www.icu-project.org/repos/icu/tools/trunk/unicodetools/com/ibm/rbm/docs/index.html"]http://www.icu-project.org/repos/icu/tools/trunk/unicodetools/com/ibm/rbm/docs/index.html[/URL] Thank you!

Member Avatar for jwenting
0
95
Member Avatar for debee

Hello there, I am trying to build a square matrix of the type Double, with the following code: for( i = 0; i < weightVector.length; i++) for( j =0; j< weightVector.length; j++) { weightMatrix[i][j]= weightVector[i]* weightVector[j]; if(i==j) weightMatrix[i][i] += 0.0001; } The problem is each time the vector "weightVector" has …

Member Avatar for debee
0
87
Member Avatar for raajji
Member Avatar for seang85

currently I am randomly generating a set of number from 0 to 7 in decimal in array..then I hav to convert them in binary form... however,i fail to get it.. any mistake i did?hope to get some advises from u .. public class Initializationtest { public static void main(String[] args){ …

Member Avatar for parthiban
0
107
Member Avatar for BroKeN

hi guys i want to make a tool bar wich is connected to one or more sites and links that tool bar it is kind of like a news tool bar but i want it to view some kind of website feeds and it runs a normal setup and installed …

Member Avatar for BroKeN
0
67
Member Avatar for leroi green

Hi all, I got a code in 2 programs that allow me to open the file, write the file, then close it. BUT...I want to open it back up and read it then close it again and i don't know how to. Below is what i already have but i …

Member Avatar for leroi green
0
125
Member Avatar for jlaw1027

We're making a queue that simulates a line at the DMV and aftersomeone goes through the line, or queue, we cant to take that persons name and add it to a new queue to display in the final stats of how many people have gone through and the total amount …

Member Avatar for Ezzaral
0
95
Member Avatar for terrif8888

I have created a gui using extend frame. What my program needs to do is replicate a DNS server, the DNSServer code has to be its own class, So to my project i have added class. How do i acces the methode within the DNSServer Class?

Member Avatar for majestic0110
0
94
Member Avatar for tactfulsaint

Please i need help with My Login prog that can enable two categories of people to login that is the administrator and a user below is my code snipet bcos i am stucked. import java.util.* ; import java.awt.* ; import java.awt.event.* ; import javax.swing.*; public class HeartLandLogin extends JPanel implements …

Member Avatar for tactfulsaint
0
125
Member Avatar for Legato256

I'm still in Computer Science 1 in my school, so I don't know many advanced features yet. In the class we viewed an applet where the user can control an image of a game character and move around with the arrow keys. I'd like to make a simple game like …

Member Avatar for Ezzaral
0
127
Member Avatar for Dr Windows (XP)

Hey guyz i'm a newbie in java and I would like to create a program to find all palindrome prime numbers between two integers supplied as input (start and end points are excluded). I've started but now i'm stuck... Can u help me??? import java.util.*; class Question4{ public static void …

Member Avatar for Dr Windows (XP)
0
166
Member Avatar for doosa

Hi, I want to get the (ichain ldap) loggedin sessionid and redirect the user to a page1.htm, page2.htm.. on the same server, only have to redirect to pages how do I do this with JSP ? any help on this highly appreciated. Thank you in advance Doosa

0
57
Member Avatar for nikk

Hello friends, Can you please tell me what is the significance of following tags in HTML/JSPs 1) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2) <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> Please reply. Thank you.

Member Avatar for peter_budo
0
79
Member Avatar for Thirusha

Is is possible to clear the value of a bean using the jsp:setproperty tag? i have tried [CODE] <jsp:setProperty name="MyNameBean" property="subscriberName" value="" /> [/CODE] but it didnt work. Please help!

Member Avatar for Thirusha
0
135
Member Avatar for krookedkop

Hey guys, I'm not sure if you can tell how long I've been registered by my status or something but I'm new obviously and having a little problem with an program I'm writing. I get an error message stating that "The constructor bankofMark.mattsAccount(String, String, String, String, String, String, String, String, …

Member Avatar for Jens
0
272
Member Avatar for theausum
Member Avatar for jimJohnson

trying to get this program to run and getting an odd error...does anyone know what I have to do [code=java] //packages to import import java.awt.*; import java.applet.*; import java.awt.event.*; public class PetAdviceApplet extends Applet implements ItemListener { //declare variables and construct components int housing; double hours; String pet; Label promptLabel …

Member Avatar for jimJohnson
0
140
Member Avatar for kommuru

Hi, I am kommuru going to develop a website having a forum,blog,wiki, calendar etc. I have some work experience in servlets and Jsp. Can anyone let me know what java technologies, I need to use for implementing the above mentioned. Thanks alot!

Member Avatar for phper
0
69
Member Avatar for kimbokasteniv

When is it more efficient to store the value of a calculation than perform that calculation 2 or more times? I have always been under the impression that performing a simple arithmetic calculation two or three times is faster than instantiating a variable to hold the value of the calculation. …

Member Avatar for kimbokasteniv
0
107
Member Avatar for Katherine692008

**I'm to the point I think where I can ask a user to input a string value, answer is Hourly. if hourly the user enters hours, then the program prints out value in currency format answer is Salary user enters which salary level Level 1 is for recent college grads …

Member Avatar for Katherine692008
0
115
Member Avatar for nireekshan

hai i am write simple java code dataRetriving from Mysqldatabase to c:\ Commend fromt The out put desplay QUERY send me Plse

Member Avatar for jwenting
0
78
Member Avatar for pranto157

i need a solution.. i want to transfer a numeric value from a combo.. according to value with ajax/javascript i want to create radio button.. suppose i send 3 then , it will show 3 radio button.. plz help me... here is the javacript code [code] function radio_b(){ var a=document.getElementById("radio_button").value; …

Member Avatar for buddylee17
0
77
Member Avatar for clook

i am trying to display the output in jlabels for this shipping cost program i have coded. I have created individual jlabels for the package ID, weight, and shipping cost and tried to display them with the mainPanel. I had no problems making labels for the input in my designFrame …

Member Avatar for masijade
0
103
Member Avatar for Katherine692008

import java. io.*; public class ifWhileLoop { public static void main(String [] args) throws IOException{ int num = 0; int count = 0; int total = 0; System.out.println("Enter a whole number, and -99 to quit: "); BufferedReader br; br = new BufferedReader( new InputStreamReader( System.in ) ); num = Integer.parseInt(br.readLine()); …

Member Avatar for VernonDozier
0
73
Member Avatar for venomlash

I am writing a applet-based mini-game. Whenever I open up the HTML document with Internet Explorer to test what I have so far, it just says "Java Applet Load failed".When I do the same with the AT&T browser, I get a blank web page with a big grey rectangle (or …

Member Avatar for venomlash
0
276
Member Avatar for raju123007

guys, i have been trying to do this for 4 days straight... i'm not getting anywhere... i really need ur help. i can do the formulas and the action listener and all that, but the only thing that i seem to be having a problem is with the layout of …

Member Avatar for majestic0110
0
613
Member Avatar for nireekshan

hai i am nireekshan; i am using Mysql 5.0; it was instaling C:\Program Files\MySQL; i am write code Bellow see and --save c:\ "Mysqlcon.java " in this program run-in commend Fromt> javac Mysqlcon.java It was NOT Any Errer; >java Mysqlcon ERRER ACCERED.......CLASS NOT FOUND EXPATION //I AM COPY Mysql.jar file …

Member Avatar for nav33n
0
121
Member Avatar for deepakraj

how the image is upload and download in mysql databse using jsp. also how the downloading image can be show on the webpage.. as same in any profile (like in orkut)

Member Avatar for jwenting
0
53
Member Avatar for vaskar

Hi All, why do we need filter in a servlet? When we use servlet filter? pls help me thanks!

Member Avatar for jwenting
0
58
Member Avatar for koushika

i have a table displayed with bookisbn , booktitle and bookauthor etc..in which i have to make the bookisbn column values as hyperlink to a page name bookinfo.jsp which will diplay all copies of the book under the clicked isbn number . i am attaching the code below: {code viewbooksforsale.info …

Member Avatar for jwenting
0
158
Member Avatar for julia07
Member Avatar for tarsem

[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Show hide content with sliding effect</title> <meta name="language" content="English"> <meta name="robots" content="follow"> <meta name="googlebot" content="index, follow"> <style type="text/css"> body{ font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif; /* Font to use */ margin:0px; } .ad{ position:absolute; top:10px; right:10px; } .dhtmlgoodies_question{ /* …

Member Avatar for peter_budo
1
159
Member Avatar for Noliving

Here is the problem: Does the recursive algorithm for raising x to the power n work for negative values of n? Does it work for negative values of x? Indicate what happens if it is called for each of these cases. Here is my answer for the above: It's a …

Member Avatar for Noliving
0
240
Member Avatar for GREENHOUSE

Can anyone get aol to worl on windows 64. is there any way to get it working even tho they dont support windows 64. in another site someone said this:- Success. Turns out the latest AOL cd-rom install did not install a 64bit winminiport, so it means no 64 bit …

Member Avatar for frankleichler
0
259
Member Avatar for D boss

Hi ppl, i am trying print a txt file from within my java code, here is the code i have done so far but i am getting some runtime errors, also i am trying to keep the coding to a minimum...any help would be appreciated, -------------------------------------------------------------------------------------------------------- package AddRFSwitchPac; import javax.print.*; …

Member Avatar for D boss
0
578
Member Avatar for vidaj

Hello I'm building a factory for my DAO's and want it to return the correct DAO based on the class of the ValueObject passed to the factory. Now, if this was java I would use something like this: [code=java] if (valueObject instanceof User) { return new UserDAO(); } else if …

Member Avatar for vidaj
0
133
Member Avatar for echocoder

I am trying to determine a way to create a timeout for a connection attempt to remote Oracle databases. If the connection isn't created in X seconds or less, regardless of the reason, I need to stop the connection attempt and report a message. Below is the relevant bit of …

Member Avatar for echocoder
0
338
Member Avatar for b1naryMan

Hi, I'm a newbie to this forum and I wanna ask a few questions:) How can I export using jsp, data that are store in sql database to word or excel or even pdf? Is it possible to be done? How can in jsp to provide into my webpage an …

Member Avatar for jwenting
0
97
Member Avatar for ejasalikhan
Member Avatar for Virginie

Hi everyone, I'm trying to implement the Kruskal algorith in Java, I understand the algorithm completely but encounter some difficulties in implementing it, and believe me I have tried to read about it. I would like to define a new class of elements that can define the graph, a bit …

Member Avatar for javaAddict
0
76
Member Avatar for Danii

This method should add a new point to the frame hierarchy and Make sure a new node is not added if overlap. public void ToAddBonePoint( double testDiameter, double centerX, double centerY) { if (selectedNode == null){ selectedNode = new BoneNode( testDiameter, centerX, centerY); } I have `new BoneNode( testDiameter, centerX, …

Member Avatar for javaAddict
0
107
Member Avatar for Felicia_M

Hello all!! This is my first post here... anyways, i have this annoying popup that opens everytime i turn on my computer - it is searchportal.com. It doesnt do anything except annoy the hell outta me -- but im scared that it might be pointing towards someother software installed on …

0
56
Member Avatar for friends_ajai

I am a student of b.tech with computer science And I am using a "JSP BASED LIBRARY MANAGEMENT SYSTEM " project which I have downloaded from a website("sourceforge.net")..But I m facing problems in using it succesfully. I have installed : a.tomcat 5.0 b.mysql5.0 c.j2sdkee1.3.1 d.jdk1.5.0 2.set all the envoirment variables …

Member Avatar for kristo_abhi
0
85

The End.