473,544 Members | 1,501 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.
0
957
thread by: phpuser123 | last post Jul 16 '10 by: phpuser123
public static void test_conn(){ try { // Step 1: Load the JDBC driver. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); // Step 2: Establish the connection to the database. String url = "jdbc:odbc:MS Access Database"; Connection conn = DriverManager.getConnection(url); ...
0
957
dlite922
thread by: dlite922 | last post Nov 29 '10 by: dlite922
So I have a jTable (table model data is an arrayList) and in it there is a positive integer field. I'd like the user to filter by this field using the following type of queries: 0-10,500,239-99999 ranges and singles separated by dash. This is a common thing I've seen in application so I'm sure it's been done before. Anyone know what...
1
956
thread by: tuli | last post Jun 6 '07 by: r035198x
I want ajava program that relative to String Buffer The Requireds are: 1- Make a user to write aparagraph 2- how many vowels Letters in aparagraph 3- Replace each space with start * 4- how many words you have in aparagraph 5- Put your string inside an array elment
0
956
thread by: Sushmita | last post Aug 24 '07 by: Sushmita
Can anyone help me out in integerating JMS with TOMCAT.. Something like a step by step instructions...or any site mentioning the same.. Awaiting for reply...
1
956
thread by: vijayvadlamaani | last post Sep 25 '07 by: madhoriya22
how can we import a package ? my directory structure is vijay--> source-->" source file.java"; in this i declared a package rites . how to import that in other class and how to use the class which is declared in it?
0
956
thread by: rotaryfreak | last post Jun 21 '10 by: rotaryfreak
Hello, I just created a small demo program using swing, ive also created a .jar executable and placed it on my desktop. Is there any way to change the .jar file's tea cup image to my own image? I know that this can be done for the JFrame Thanks a million!
0
954
thread by: Diptirmaya | last post Jun 15 '07 by: Diptirmaya
hi i want to clrify my experience about j2ee design patterns.. i am using struts framework and hibernate for database,, i have some confusiopn about the flow of the program,, can anyone help me describing the patterns in detail fronm ui upto business logic.. with some coding example.. thanx
1
954
thread by: mike131 | last post Nov 22 '07 by: JosAH
Hello guys! i have a little question, i have just began to teach myself the Array subject and i have a little problem... can someone tell me please how can i arrange the next Array by the following way?: here is the array: {girl,boys,elephant,boy,computer} well, the word boys is actually bigger than the word boy, and the letter b comes before...
1
954
thread by: pralu | last post Mar 28 '08 by: JosAH
a1(new int{1, 2, 3, 4}); plz tell me and explain me what actually happening here... plz explain me
0
953
thread by: getusama | last post Dec 2 '06 by: getusama
I need to place few icon/pictures on my form can anyone tell me what to use. Are there any picture holders or any other way I can do that.
0
953
oll3i
thread by: oll3i | last post Mar 22 '07 by: oll3i
when running the command i get the following error :( java HelloClient -ORBInitialPort 1050 ERROR : org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/N amingContext/NotFound:1.0 org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingCon text/NotFound:1.0 at...
0
952
thread by: tech456 | last post May 24 '07 by: tech456
Hi All, Can you anyone help me to setup on my linux machine JMS with mysql. I have installed JMS and mysql.I don't know after that what i need to do. I would like to setup on linux machine JMS with mysql database. Do i need to install any webserver.Please advice me step by step.Your help will be really appreciated Regards, Tech456
0
950
thread by: rag84dec | last post Jun 26 '07 by: rag84dec
Hi, I am using Eclipse 3.2.0... And i want to use struts in Eclipse.But it is not present in the location as stated in the following link.. http://www.laliluna.de/first-steps-using-struts-tutorial.html Please help Do i need to import?...
2
950
thread by: bibhuti anand jha | last post Sep 27 '07 by: Nepomuk
how can print the * * * * * * through commmandline
4
950
thread by: pralu | last post Mar 26 '08 by: JosAH
public class StringExp { public static void main(String args) { String a = {1,2,3,3}; String b; System.out.println(a); } }
0
949
thread by: TrupsT | last post Nov 26 '06 by: TrupsT
Hi, I am a newbie to Java. Just had few queries. Can I protect particular objects on the webpage. Ex: A video file kept on the webpage, to which I want to allow downloads only after user authentication? If yes how this can be done? Plz guide.
0
949
thread by: abhishek92 | last post Jul 14 '07 by: abhishek92
can anybody tell me the way in which to upload a file.. I don't the have any idea as to how this is done.. I want to do it in JSP.. in my project I want to add a functionality that the user can upload some file for future reference.. also guide me where these files will be stored...
0
949
thread by: pankh | last post Sep 4 '07 by: pankh
hi! I've to develop a screen in order to construct and/or modify a hierarchical structure of the following type: http://www.oracle.com/technology/ora.../o53xml_f1.gif A click on a node would allow the user to define the childs nodes .... I don't know how to proceed .... Any ideas ?
0
948
thread by: shreya | last post Sep 28 '06 by: shreya
Hi I am new to webservices Can we create a web service without any targetNameSpace Pls help it is urgent
1
948
thread by: masterviraj | last post Feb 16 '07 by: MMcCarthy
I really new to the java Struts.Can you tell me how we work with Struts and what are the benifits we get using Struts. Thanks
0
948
thread by: JagPeram | last post Oct 18 '07 by: JagPeram
How to change the location of the log file in log4j.properties dynamically?
6
948
mia023
thread by: mia023 | last post Mar 30 '08 by: JosAH
Hello everbody, I just need yo ask a few questions: 1.How to delete elements in an array 2.How to reverse an array and Does any one know a good tutorial for Linked List(singly and Doubly and circular ) Thank you
0
947
thread by: sandyonline | last post Sep 4 '10 by: sandyonline
hi am doing a project in j2me..i have to connect with either sql or ms-access..please someone tell me how to integrate connect the database with j2me
4
946
thread by: majik1213 | last post Sep 12 '07 by: kreagan
could someone please help me figure out why the console will display only 0 but never 455555? public class Test { public static void main(String args) { String testString = "0"; if (testString.equals("0")) { String okay=testString.replace("0", "455555");
0
946
thread by: mrityunjay11 | last post Dec 23 '07 by: mrityunjay11
on netbeans 6.0 ide when i am running the jsp program the messege is that access to server is not authorised . i want to set password of tomcat to run my jsp program on netbeans plz tell me the path where i can go and set the password and username

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.