473,668 Members | 2,265 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
1
2,128
thread by: deepmali | last post Aug 6 '12 by: ariful alam
hi there, i am new web site devoloper. plz solve my problem
0
1,408
thread by: Rashid Mkande | last post Aug 3 '12 by: Rashid Mkande
what should i do if save the program in bin it say ' you need a permission from administrator'....help me pliz
1
1,372
mujeeb i
thread by: mujeeb i | last post Aug 2 '12 by: Frinavale
hai friends am a php programmer..i have no idea about database connection on java tom cat.. please tell me with example...
0
1,753
sailendrajena
thread by: sailendrajena | last post Aug 2 '12 by: sailendrajena
Hi, Can anyone please help me to write a code on java which will create database in DB2 database. For example manually we are creating the database in the DB2 database after that inside that using that database we are creating any number of table s. But I want to create that database inside DB2 database. So please help me in that code. I tried...
0
1,606
karthickkuchanur
thread by: karthickkuchanur | last post Aug 1 '12 by: karthickkuchanur
Hi, 1.I am having the arraylist which contains string like A,A,B,C,C 2.I need to separe the unique value in to map 3.The output must be like {1=},{2=},{3=} 4.I tried something hardly but i can't
1
2,142
sunsolaris2000
thread by: sunsolaris2000 | last post Aug 1 '12 by: sunsolaris2000
I've spend all day looking for this and as far as I checked I always stick with an empty ArrayList. I also tried to display just the first record I find and I got null.What should be inserted into ArrayList are only courses, so Strings. public String getProfessorCourses(){ ................ //get the id related of the name ...
0
1,752
thread by: Sophia Ranjani | last post Aug 1 '12 by: Sophia Ranjani
I wrote a prgram using hibernate and got the following error: Exception in thread "main" java.lang.NullPointerException at hibernateTutorial.FirstExample.main(FirstExample.java:36) /hibernate.cfg.xml not found So i am new to this topic please help Thanks in advance. Please find the code attached below: public class FirstExample {
3
2,944
thread by: thename1000 | last post Jul 31 '12 by: sreekandank
Hi, I'm trying to create this output: Input team 1's name: Team 1 Input team 1's ranking: 90.4 etc.
7
5,183
thread by: kidosai | last post Jul 31 '12 by: sreekandank
hi i need a guide on how to use the scanner class... i need to use Java Scanner class to read a text file and be able to print the text inside of it... example : i have a text file named "myFile.text" inside of it there are text writen or listed on it... Alvin Simon
2
1,403
thread by: zahidafridi | last post Jul 29 '12 by: zahidafridi
hello guys i am new java learner , actually now i working on small bus ticket reservation project ,their is same problem about the ticket numbers.how i store the ticket in file and also how to read from reserved seats ?if any one have any idea about the ticket reservation please kindly share it with me i shall be thanks to you all ..........
0
1,344
thread by: RacingSalmander | last post Jul 28 '12 by: RacingSalmander
Hi all, I am trying to import a compressed array from a RS232 port to a UBS jumpdrive in the Java language. Please can you help me by giving me some advice in which direction to tackle this problem? I am still a novice at Java, but I university credits for Introduction to Java Programming Regards,
0
2,168
thread by: ashley scorpin | last post Jul 28 '12 by: ashley scorpin
I am trying to add the total cot panel in tab pane. But when I run the programe the totalcost panel is empty from inside. Please help me What am I doing wrong
1
1,731
thread by: lzMnelson | last post Jul 24 '12 by: Rabbit
Hi I have a basic client server program that I created. I'm confused on how the whole parseDouble() works when adding numbers. The data is in the form of whole numbers separated by spaces. Such as 1 2 3 4. I was thinking to store each number in an array because I want to add them together and return the result to my client. I'm always open to...
0
1,144
thread by: mathgeek314 | last post Jul 24 '12 by: mathgeek314
Okay, so I have two methods, one to save selected arrow keys to a text file, and the other to load them as integers. Here's the first: public void saveKeys() { String out = Integer.toString(left)+"\n"+Integer.toString(right)+"\n"+Integer.toString(up)+"\n"+Integer.toString(down)+"\n"; try { PrintWriter save = new...
0
1,581
thread by: vishal prada | last post Jul 23 '12 by: vishal prada
hi guys, i got an error in my eclipse i am using tomcat 5.5 and jdk 1.5 eclipse indigo INFO: validateJarFile(F:\Project\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Sample_23_7_12\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class i didn't find...
0
1,875
thread by: Reshu Goel | last post Jul 22 '12 by: Reshu Goel
Sir, I want to fetch data from a table in sql server database on a jsp page...i make text to be searched input from user through an html page and on jsp page i am getting that data by getParameter() method and passing that variable in sql like query whose syntax is "select * from tablename where columnname like 'f%'" where f is the text...
0
2,698
thread by: StephenHawking9 | last post Jul 22 '12 by: StephenHawking9
I am trying to maintain an existing application and seeing some errors in the log file. Not sure what do these mean, Please suggest what could be causing this? INFO - sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=Timer-9;| INFO - Allocating session for http://www.fromdev.com, opening... INFO - Preparing Firefox...
0
1,640
sunsolaris2000
thread by: sunsolaris2000 | last post Jul 20 '12 by: sunsolaris2000
I have 3 sql tables: **professors(prof_id, name)**, **professors_courses(prof_id, course_id)** and **courses(course_id, title)**. **professors_courses** is the bridge table between professors and courses. In *CourseAssignments.java* I search which courses belong to professor x, after user enters a professor "name". **Course.java** ...
0
1,323
thread by: Rajesh M | last post Jul 18 '12 by: Rajesh M
How to read Image from Database and display in Itext Pdf cell.
0
1,613
thread by: shiko | last post Jul 18 '12 by: shiko
I made use of this link to send an HTTP POST Request, http://www.xyzws.com/Javafaq/how-to-use-httpurlconnection-post-data-to-web-server/139 now i need to add an xml header to my request, how can i do that? header will look like: <header ver="3.3.0"> <client> <id>le</id> <pwd>123456</pwd>
0
1,647
thread by: shiko | last post Jul 18 '12 by: shiko
How to send HTTP POST Request with xml body and xml header?
0
1,331
thread by: ANTHONYSEAGER | last post Jul 17 '12 by: ANTHONYSEAGER
got rid of all errors but it will not print what it is suposed to it runs and prints out Welcome to Coffee Driver! Do you want to see our menu sorted by item name or price?/nEnter 'p' for price and 'n' for item name: p null $0.0 null $0.0 null $0.0
0
1,376
thread by: shiko | last post Jul 17 '12 by: shiko
Does anyone know how to establish a TCP connection and send an HTTP POST request?
0
1,582
Malathi
thread by: Malathi | last post Jul 16 '12 by: Malathi
Hi, Im calling a vb.net exe(console app) in java program. The exe will return 1/0 as per success/failure of its task. Now in java I want to capture the return value of .net exe and show it in a messagebox.. Any help is appreciated! Thanks, Malathi
0
1,014
thread by: rajisubbiah | last post Jul 16 '12 by: rajisubbiah
i want to know the coding for how to write the same series of number in an order for eg: 1000 2001 1001 2015 1002 2019 1119 2810

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.