473,543 Members | 2,061 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
1,392
thread by: Nishant | last post Sep 13 '12 by: Nishant
have two pages 1)index.jsp and 2)first.jsp.i have drop down list in index.jsp page i want if i choose any value from drop down list it should show the selected value to the next page that is first.jsp. coding of drop down list goes as.... <h4>Plant: <select name="plants" onchange="location.href=f1.plants.options.value"> ...
2
4,688
Siddarth777
thread by: Siddarth777 | last post Sep 13 '12 by: om26
Hi, I have gone through the concept of serialization in java very recently, i understood what serialization means in java, but why serialization is required in beans? as i have done some research on net, i found that persistence can be achieved, i did not not understand how persistence can be achieved by using serialization. can...
1
1,560
thread by: saravana | last post Sep 12 '12 by: chaarmann
When i changing database data directly,ie.,manually i am doing insert or update statement database that time i forget to do commit it in database. same time i run my java application that time it should not update,coding is still running. again go and commit it. that time my application is run what happenned? what is reason for that.can...
1
2,410
thread by: Japhet | last post Sep 12 '12 by: chaarmann
Everytime i input a number it gives me the array out of bounds Eception error : 3 and hihglights the product = product * A{i} bit i would be grateful for any help. public class Accumulator { private int A; public Accumulator(int X) { A= new int; for (int i=0; i<X.length; i++) A = X; }
3
2,749
thread by: saravana | last post Sep 9 '12 by: zmbd
Can any one tell clearly? thanks
0
1,449
thread by: gaya3 | last post Sep 7 '12 by: gaya3
Hi All, In my java application, i need to search a string (Eg: "Hello") in the list of files in the source directory and i need to copy all the files that matches the search text and copy all those files into another destination directory. Problem: In my source directory i have lot more number of files , probably 10,000+. I am not sure ,...
0
1,350
thread by: zeinz | last post Sep 6 '12 by: zeinz
Hi, I want to transfer gif image over Tcp/Ip socket between server & client. but when i do that the gif transferred is no longer animated & freezes @ the last frame. I used (Datainput/outputStream) then read the stream into image. Anyone have an idea why that happened?
0
8,767
thread by: adima | last post Sep 5 '12 by: adima
hi, i am looking out for a program in java ,which will read the url entered in browser's address bar and filter it before it is sent to the server (http/https)and respond back the client i.e my browser
6
14,150
thread by: mjahabarsadiq | last post Sep 4 '12 by: mouli82
Hi, I have written a java code to execute ant targets via Servlet. I have given the code below. import org.apache.tools.ant.*; import org.apache.catalina.ant.*; . . . .
0
1,824
thread by: gaya3 | last post Sep 4 '12 by: gaya3
Hi All, I would like to have the simple java code that copy the files from samba share to local drive. When i tried with below snippet , file not found exception occured. Please do needful try{ String source = "//IP.VV.YY.XXX//test//mm"; File sourceFile = new File(source);
0
1,406
thread by: adaagu05 | last post Aug 30 '12 by: adaagu05
hello all, i am trying read smartcard. can you help me with a sample code. i wll appreciate this. than you.
0
1,408
Suresh Mahesh
thread by: Suresh Mahesh | last post Aug 30 '12 by: Suresh Mahesh
i have multiple no of System.out.println("something")statements in various places in one java file. i need to save all the console output should placed in separate text file , after console output reach end thanks in advance
0
25,767
vitthaldevkar
thread by: vitthaldevkar | last post Aug 24 '12 by: vitthaldevkar
int size = GetDataSet.setInt.size(); Set<Integer> randomSet = new HashSet<>(); for (int k = 0; k < size; k++) { int item = new Random().nextInt(size); int j = 0; for (int mbr : GetDataSet.setInt) { if (j == item) { randomSet.add(mbr); } j = j + 1;
1
2,161
thread by: lex00n | last post Aug 22 '12 by: Rabbit
domain.com/Forum_show.action?pg=2&forum=java how do i rewrite that to domain.com/forum/java/pg/2 thanks in advance (there are no jsp forum here)
0
1,423
Suresh Mahesh
thread by: Suresh Mahesh | last post Aug 22 '12 by: Suresh Mahesh
i have to store and retrieve integer value from three dimensional array recursively. For example i have a=1,b=2,c=3 and a=3,b=2,c=1 and a=1,b=2,c=3 etc as input . then i should get output of all rows and columns in three dimensional array list i tried this i am getting error as index=1 size=1
0
2,248
thread by: don320 | last post Aug 21 '12 by: don320
If I have a project called common-webapp and inside the web pages folder I have a folder call tablibs.jsp. How can I use that jsp page in another project such as security-webapp and my jsp page there is logon.jsp?
2
2,416
aquagirl20
thread by: aquagirl20 | last post Aug 20 '12 by: aquagirl20
I'm new in using tables. I have a series of getter methods and I wants to display them in a table. I've been trying to use the external file that my program saves but I'm having a hard time how to display it in the table. Then my classmate told me that it's easier to just use methods in our CarRecordManager class. The external file contains...
0
1,465
thread by: Walt Fish | last post Aug 14 '12 by: Walt Fish
I have an application on a flash drive that pulls log files from a hard drive and copies them back to the flash drive. I'm having trouble assigning the proper drive letter to the write/copy process that's been assigned to my flash drive so the files actually go to the proper place. The flash drive can be assigned any letter available. How do I...
0
1,604
thread by: GauravDC | last post Aug 10 '12 by: GauravDC
I am working on a project in java where I need to save an image after changing some of its pixel values.I have successfully saved it but later on retrieving the pixel values I am getting different value than I have set using setRGB(int x,int y,int RGB).Looking forward to ur help.
0
1,484
thread by: UserJava | last post Aug 9 '12 by: UserJava
I have a java program which connects to unix box and runs a shell script there. It does execute all unix commands but not able to execute a db2 command which is there in the unix shell script. Can anybody please help on this?
0
1,290
thread by: GauravDC | last post Aug 7 '12 by: GauravDC
My program generates dynamic red green and blue values in decimal for a pixel.I need to set the values of that pixel to these generated numbers.I have tried to convert it into hex values but I am not finding any way out to set the pixel to these values. Looking up for your help.
0
1,506
freddieMaize
thread by: freddieMaize | last post Aug 7 '12 by: freddieMaize
Hi Experts, Its been years since I posted in this site. Anyways, Are there any best know java OCR API or open source utility to get the text from a Video/Audio files. I know this is too much to ask but I'm researching on this so posting this question, hoping to get any info that might help me on my way. fREDDIE
5
3,441
thread by: deepmali | last post Aug 7 '12 by: Frinavale
hi there i am new in website development and try to develop website in advanced java like jsp with hiberante. so now i want to create security for after logout from the site pages. so i need to disable my backbutton of browser after the logout. how can i do that plz help me thanks in advanced.
0
1,478
thread by: Kiran0091 | last post Aug 7 '12 by: Kiran0091
Hello I am working on a project in which I am using ffmpeg with php. It was working properly. Now I am trying to use ffmpeg with java in window xp. How to install ffmpeg with java 6 in window xp????
8
4,977
dmjpro
thread by: dmjpro | last post Aug 6 '12 by: jlsevasion
Please help! And please differentiate between ClassNotFoundException and NoClassDefError. Debasis Jana.

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.