36,051 Topics

Member Avatar for
Member Avatar for snakai415

Hello, I am new at this java thing... like really, 1 day new. I have this book called Java 2: A Beginner's Guide (Second Edition). I got stuck on the second step which tells me to.. use javac to compile Example.java.. I read old posts that were posted here through …

Member Avatar for peter_budo
0
255
Member Avatar for onsir

Hi, how to make programming for write and read text files with java and netbeans, and that files automatically save in application folder. thanks

Member Avatar for peter_budo
0
85
Member Avatar for inzomniac

Hi. I've been struggling with this for about a 3 days now, maybe someone could help. It isn't as specific as it seems. Please read on, i'm losing my mind over this :(. Here's the thing: The Parallax BasicSTAMP1 USB Board was never meant to be used as a front-end …

0
98
Member Avatar for DanceInstructor

I'm looking for a way to collect hardware/software information from users that visit a site I'm working on (The user will request this action with full knowledge of what is happening of course). You can see an example of what I'm looking for at Crucial where they have a button …

0
99
Member Avatar for arunprashanth

Hi I am using jboss server 4.0.4 to run the jsp application. to run i can give the url as [URL="http://localhost:8080/projectname"]http://localhost:8080/myproject[/URL]. if i can give like this, it is properly running. but i can give [URL="http://www.projectname.com/"]www.myproject.com[/URL] like that means, my application to run.(i.e to run my application with out portnumber). …

Member Avatar for peter_budo
0
101
Member Avatar for bakke23

Hi, I'm trying to input a random number of Strings by passing them in as args[]. When I try to use a for loop to determine when there is no more arguments left it gives me an "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10" error. I've tried looking for a null …

Member Avatar for bakke23
0
133
Member Avatar for RRAssociates

I keep getting kicked off websites that start up in Java. I have Java installed in a NT unit. What do I look for as the problem. I have reinstalled explorer and Java both and at different times. Help me....except I can't blow up the unit...it belongs to the company. …

Member Avatar for chrisbliss18
0
120
Member Avatar for saswati_mishra

Hi, I have written a jsp file to fetch data from a database table and display it in the form of a table in jsp. The idea is to generate a dynamic table. I have written the following code. <%@page import="java.sql.*"%> <html> <head> <title>The alert table</title> </head> <body> <h1>Alerts</h1> <% …

Member Avatar for ~s.o.s~
0
184
Member Avatar for seechaitanya

hi, i am new in java, can anyone guide me with TechQuestions related to java, ie core,jdbc,jsp,servlets,struts,hibernation... along with the list of websites downloading Q &A which provide the TechQuestions.

Member Avatar for masijade
0
26
Member Avatar for arunprashanth

Hi What is the difference between application server and webserver. thanks.

Member Avatar for masijade
0
115
Member Avatar for Akilah712

Hi, I am writing a program for a bioinformatics class. I have to implement a certain algorithm. I am a biologist and my background in programming is not that great. I have found the algorithm online that I want to implement but I need it explained in regular terms. The …

Member Avatar for Akilah712
0
103
Member Avatar for Mr.UNOwen

Does anyone know how place an applet in full screen without any kind of bordering or buttons so that the applet starts at 0,0 of the screen and goes all the way to the opposite corner. Now I know how to get a window into full screen using: GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().setFullScreenWindow(Window win) …

Member Avatar for ~s.o.s~
0
109
Member Avatar for arunprashanth

Hi I am using Jboss 4.0.4 server. when i run my application. i.e start my batch file run.bat. it tells Failed to map vhost:mylocalhost1.com did not set the virutal host. so how to solve this problem. Thanks

Member Avatar for lucky1981_iway
0
299
Member Avatar for Ghost

Hi, I am making tic tac toe, and I basically have it all working, except the GUI has a few bugs. Right now, I am not using a layout. I am using "setBounds" instead. When a player wins, an image saying "you win" should be displayed over the title image …

Member Avatar for masijade
0
436
Member Avatar for Bugaya

I'm using NetBeans 5.5 First :I want to bind data from table from MS Access DB into JTable . Second: Is there any other component in java to do the previous action(e.g. DataGrid )

Member Avatar for Ezzaral
0
690
Member Avatar for ttamilvanan81

Hai, I am doing one java struts application. In my Application, i need to generate the report . In the Report display page, i have two buttons named PDF and EXCEL. If i have click the PDF button, all the Report values are generate as PDF file. If i have …

Member Avatar for Ezzaral
0
146
Member Avatar for rinko

Hi to all, I use NetBeans 5.5 and through Library manager I imported a jar file. How can I see the source code of the classes that the jar file contains? I got all classes from the jar file listed, I can see the name of constructors and methods but …

Member Avatar for peter_budo
0
136
Member Avatar for arunprashanth

Hi How can i create virtual host in JBoss server 4.0.4.in that,how can i mapped to my domain name. i.e [url]www.myproject.com[/url] like this. and how to run in the server.

Member Avatar for lucky1981_iway
0
307
Member Avatar for nizam147

Hii EveryOne Need some advice on the following, I have three war files which work along with each other as there is dependcies in them, Now at the time of deployment i dont want to put three different war files separately but instead want to have only one, I am …

Member Avatar for stultuske
0
74
Member Avatar for walba

hi everyone. am very new to java. can somebody out there help me with tutorials starting from the basics.Thanx

Member Avatar for Ezzaral
0
83
Member Avatar for venugreddy

Hi , I'm running a batch file which contains the content D:\apps\JavaSoft\JRE\1.3.1\bin\Publisher -Xms256m -Xmx512m -cp .;"D:\rc\grt\PublisherIIRMIServer\jdom.jar";"D:\rc\grt\PublisherIIRMIServer\common_db.jar";"D:\rc\grt\PublisherIIRMIServer\mail.jar";"D:\rc\grt\PublisherIIRMIServer\activation.jar";"D:\rc\grt\PublisherIIRMIServer\log4j.jar";"D:\rc\grt\PublisherIIRMIServer\oracle12.jar";"D:\rc\grt\PublisherIIRMIServer\xmlParserAPIs.jar";"D:\rc\grt\PublisherIIRMIServer\commonclasses.jar";"D:\rc\grt\PublisherIIRMIServer\classes102.zip";"D:\rc\grt\PublisherIIRMIServer\jintegra.jar";"D:\rc\grt\PublisherIIRMIServer\excelXP.jar";"D:\rc\grt\PublisherIIRMIServer\word.jar";"D:\rc\grt\PublisherIIRMIServer\powerpoint.jar";"D:\rc\grt\PublisherIIRMIServer\PublisherIIRMIServer.jar";"D:\apps\jsse1.0.3_03\lib\jcert.jar";"D:\apps\jsse1.0.3_03\lib\jsse.jar";"D:\apps\jsse1.0.3_03\lib\jnet.jar"; -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.[url]www.protocol[/url] -Djavax.net.ssl.trustStore=D:\apps\jsse1.0.3_03\lib\dapstore -Djava.security.policy=D:\rc\grt\PublisherIIRMIServer\RMIPOLICY\java.policy -Djava.rmi.server.logCalls=true com.db.grt.server.ImplPublisherServer but i'm getting the error as Exception in thread "main" java.lang.NoSuchMethodError at com.db.grt.server.ReadServerProperty.setProperties(ReadServerProperty .java:291) at com.db.grt.server.ReadServerProperty.<init>(ReadServerProperty.java:1 24) at com.db.grt.server.ReadServerProperty.getInstance(ReadServerProperty.j ava:86) at com.db.grt.server.ImplPublisherServer.<init>(ImplPublisherServer.java :56) at com.db.grt.server.ImplPublisherServer.main(ImplPublisherServer.java:1 203) all jar files …

Member Avatar for Ezzaral
0
113
Member Avatar for Jocamps

Hi all, I have a java applet which i embed on a webpage and i got an error of.. "Applet CatchingBubbles.class notinited" what seems to be the problem? spent hours to fix it but i couldn't...any reply would be appreciated. thanks by the way CatchingBubbles.class is the applet.

Member Avatar for ~s.o.s~
0
82
Member Avatar for Bugaya

I'm using NetBeans 5.5 : How could I bind data from table from MS Access DB into JTable,is there in java smth like DataGrid ?!! N.P. : I've made an application which reads data from the DB & use [CODE]System.out.append(rs.getString("Blob") [/CODE] to show the data . Now I want to …

Member Avatar for Ezzaral
0
72
Member Avatar for candipanties

I have been just fine in my java based sites until last night and one of the sites (Pogo) wouldnt open a game room it said that my Java was either disabled or out of date. I went to Sun java and checked , I have the newest version installed, …

Member Avatar for ithelp
0
72
Member Avatar for ovidiu61

Hello everyone, I have a question for you. I would like to call a function situated on a server side servlet or in a jsp file with a javascript function (client side) and to show the results returned by the servlet's function. Do you have any ideas?

Member Avatar for ovidiu61
0
134
Member Avatar for praveen_kr541

Help me. I need to place JCheckbox and JComboBox in JTable. I am not getting it. If you have any idea give it me and if you have code place so that i can come out from my problem.

Member Avatar for ProgrammersTalk
0
86
Member Avatar for hussulinux

Does anyone know how to take a screen shot of a JFrame or any Java Swing application which is NOT visible? jframeobj.setVisible(false); Something to extract the information from the memory itself?

Member Avatar for ProgrammersTalk
0
80
Member Avatar for Arch_Bytes

I have this jsf page that saves to the database. After saving it goes to a particular page. This page is then supposed to display the message that the changes were saved to the database. These are two different pages and go through several controllers. so what i did was …

Member Avatar for ~s.o.s~
0
201
Member Avatar for tolearn

Hi, Im trying to list all the drives in the local machine in a combo box and when a drive selected all the folders and files in that drive must be listed ina list box. I was succesfull in listing the drives in the combobos.But when i try to list …

Member Avatar for pjade
0
179
Member Avatar for bluecat

I did a Dots and Boxes game in java with Netbeans 5.5 I have a doubt because the game is between each two players, it's multiclient with sessions of two players. Client 1 send the message with sal.println to the server and the server to Client 2 but this client …

Member Avatar for bluecat
0
1K
Member Avatar for nizam147

Hii there, I hope you can help me out here. I have two webapps in my tomcat that is app1 and app2 in my app1 i am doing this ServletContext sc=getServletContext().getContext("/app2"); But the above statement is returning me null. I am stuck here where i am unable to figure out …

Member Avatar for jwenting
0
98
Member Avatar for fr3shman

Hello guys, My name is Hamad and I am from United Arab Emirates. I am a new student in programming and I just finished c++ course. What should I do to learn java language. Please advise me what do I have to do to teach java before taking this course. …

Member Avatar for jwenting
0
71
Member Avatar for mayank_03_arora

hi. i need to read csv files which will come as input. I am not able to do this using String tokenizer for two reasons: First StringTokenizer doesn't handle empty strings and second it doesn't have a way to easily get Strings in quotes that have commas inside them. So, …

Member Avatar for Ezzaral
-1
637
Member Avatar for arunprashanth

Hi Is there, any way to improve jvm memory size in tomcat 5.5 server. how to increase the performance of tomcat server.

Member Avatar for Ezzaral
0
62
Member Avatar for 4zlimit

I can't seem to resolve these errors. I have had people compile these codes on their computers with no problem, but I keep getting errors...can anyone help???? Here are the errors: cannot find symbol method setItemNumber(java.lang.String) cannot find symbol method setProductName(java.lang.String) cannot find symbol method setNumOfUnitsInStock(int) cannot find symbol method …

Member Avatar for thekashyap
0
186
Member Avatar for Mr.UNOwen

So here's my list of questions 1. Is there a class where it takes an audio file as a constructor and has methods that allow me pause, play and continue from any selected part of the song? 2. How do you get video to work on an applet and have …

Member Avatar for Mr.UNOwen
0
151
Member Avatar for doel.jangkrik

I am trying to make text based blackjack game. I already made : - Card class which create new card based on integer - Deck class which consists of Deck LinkedList populated by Card. I also made 2 new LinkedLists for gambler and dealer. I already managed to remove elements …

Member Avatar for Ezzaral
0
172
Member Avatar for bloggerbob

Hi all! :) I'd like to indroduce you a nice freelancer site where I'm giving information about the newest [B][URL="http://www.workathomefinder.blogspot.com"]Online Jobs[/URL][/B], how to start it, how can you get paid, etc. Not only newbies - who want to start a work-at-home freelance career - but advanced programmers can also get …

Member Avatar for joshSCH
2
118
Member Avatar for arunprashanth

Hi i have one doubt. apache and tomcat are same are different server. why normally called as apache tomcat server? that means both are combined works. what are the possible ways to improve performance of tomcat server.

Member Avatar for Ezzaral
0
97
Member Avatar for mawarzinnirah

Hello everyone..i'm a newbie here and one of a beginner programmer. Right now i'm working on a system using JSP and oracle and have a little problem with my system... My problem is : how can we exstract a data in a text file and then after exstract we can …

Member Avatar for ~s.o.s~
0
118
Member Avatar for Kashif
Member Avatar for Kashif
0
84
Member Avatar for kavita BUDHOLIA
Member Avatar for masijade
0
65
Member Avatar for arunprashanth

Hi what is mod_jk in tomcat server. why it is used.? where it resides? using this one, the tomcat server performance should increase or not.

Member Avatar for masijade
0
53
Member Avatar for Jishnu

Hi, I am trying out a bank account program using the corejava package. I am getting a run-time eception when I create a new account & am unable to trace where the error is. Plz help. I am giving the code below. import corejava.Console;/******************************************************************cLASS bANKaCCOUNT REPRESENTING THE RUN-TIME MULTI-USER SYSTEM******************************************************************/public …

Member Avatar for Jishnu
0
153
Member Avatar for nizam147

Hii everyone, I have a j2ee webapplication, for which i have two database that is Training and Production. So on the login page after entering the login credentials the user will select either Training or Production depending this the user will logon. The new scenario now, i want to have …

Member Avatar for nizam147
0
99
Member Avatar for akash_msrit

hi hello friends, i need an help from all of u. problem: i have a jsp page, in that jsp page i am displaying data retrieved from backend that is mysql in table format, i am not having any problem in that. now i want to color the table individual …

Member Avatar for jwenting
0
97
Member Avatar for Acidburn

Hello, I'm experincing a werid problem with the way my JSP's are handled. I to have my JSP's in the root directory of my application. I've now put them in <MyApplication>\WEB-INF\pages\ I updated the structs config file to reflect the changes and leaving index.jsp in its orignal location. The rest …

Member Avatar for jwenting
0
71
Member Avatar for arunprashanth

Hi I am using jboss server 4.0.4 to run the jsp application. to run i can give the url as [url]http://localhost:8080/projectname[/url]. if i can give like this, it is properly running. but i can give [url]www.projectname.com[/url] like that means, my application to run.(i.e to run my application with out portnumber). …

Member Avatar for jwenting
0
311
Member Avatar for sathishnatrajan
Member Avatar for ~s.o.s~
0
65
Member Avatar for suvitha_raj
Member Avatar for ~s.o.s~
0
71

The End.