| |
thread by: sruthini |
last post Sep 3 '07 by: sruthini
Hi,
I am doing send some values(signup form::firstname,lastname,title,organization)
to mail id using javamail at the same time it should store in database, my problem is how to fetch values from database and store it in array.
I need urgently ,Please help me.
|
thread by: ramadeviirrigireddy |
last post Sep 7 '07 by: madhoriya22
Can anyone tell me whether the return type of the method will also be considered when you are overriding a method? what i mean exactly is whether the return type can be different when you are overriding a method.and somewhere i read like overloading will not come under polymorphism. is this true?
|
thread by: dav3 |
last post Sep 28 '07 by: r035198x
Alright folks I am in need of a lil guidance/assistance here. I have a program which reads in a txt file. This txt file contains lines of the form
January 3, 2007, 85.8
Now each line of the txt file is to be read into my java program and then inserted (from the program into an Access Database). I am not exactly sure of where the problem...
|
thread by: snowfall |
last post Oct 12 '07 by: snowfall
Am trying to read from a file and print it in the console. But while running the code, just getting the last letter present in my text file and lots of empty spaces. Pls help me to find the error..
import java.io.*;
import java.util.*;
class fileClass {
char charArr;
public String getFileMeth() throws IOException
{
|
thread by: ajos |
last post Oct 25 '07 by: ajos
Hi to all,
Ok the situation that i have is im adding things in my database(something similar).The database that i was using was access and i had to change it to MySQL.As i came to know the date format of access and mysql are not the same i did something like this in my phpmyadmin(wamp)-->
SELECT DATE_FORMAT(now(), '%d/%m/%y')
when i...
|
thread by: geebanga88 |
last post Oct 30 '07 by: geebanga88
HI i have a method that is supose to store the alphabet in an array however dont think that it is being added to the array.
public static void GetAlphabet (char alphabet) {
int index, ordinalVal = 97;
char element;
for (index = 1; index < alphabet.length; ++index, ++ordinalVal) {
...
|
thread by: mc |
last post Jun 27 '08 by: Jeremy
I may be opening a can of worms and don't want to start a religious war,
but...
What features of Java do Java programmers miss when working in C#?
Other than, of course, great portability. C# has more limited
cross-platform portability (Mono).
I'm thinking more about data structures and ways to express algorithms.
|
| |
thread by: dmjpro |
last post Apr 21 '08 by: r035198x
I think most of the Java programmers use Netbeans.
I am using NetBeans 5.5 here what I saw here that if a JDBC Driver is added to connect a database then it automatically finds out the Driver Class and gets the URL pattern.
Could you help me to do that?
Debasis Jana.
|
thread by: Kid Programmer |
last post May 18 '08 by: JosAH
Hello guys. This is just an opinion. Which Java IDE should I use. Eclipse or NetBeans. I usually like to develop applications and create GUI windows. So which one should I use?
|
thread by: WanYee |
last post May 19 '08 by: JosAH
Hi, my name is WanYee, i need some help on an application i am currently doing, the application is like a calculator to find current resistance and etc... of a series-parallel circuit, my problem here is, if i have 2 buttons named "Series" & "Parallel", when the user clicks on "Series" noting happens first, but when i press the button "Calculate",...
|
thread by: tomPee |
last post Feb 15 '09 by: tomPee
Hi,
I've bumbed into a slight problem now, and I just don't seem to know how to fix it. What I want to do is the following:
Send over a socket:
1. Number of files to be send (not as an integer, just as a string)
then for each file to be send:
2. Length of Filename (again as a string)
3. Filename
4. File as binary data.
|
thread by: cowboyrocks2009 |
last post May 18 '09 by: JosAH
Hi,
I need help to automate my code to take data from input file. Also I need to create it as a function so that I can pass it to some other program. I am new to Java so having a bit limitation to do this.
My tab delimited Input File looks like this:-
21 p 13e 0 62 1 580001 andrew -14.53 -13.95 0 0
21 p 13d 63 124 580002 1160001 andrew...
|
thread by: BlackHawke |
last post Jul 17 '05 by: BlackHawke
My name is Nick Soutter, I own a small game development company
(www.aepoxgames.net) making our first game (www.andromedaonline.net) in
java.
I am writing because we are having a very serious problem, and I was hoping
someone might have thoughts.
|
thread by: Alexander N. Spitzer |
last post Jul 17 '05 by: Randolf Richardson
If I have a machine with 3 virtual IP addresses (192.168.1.), how
can I start 3 instances of the same RMI application (each started with
different properties/configs), each listening on the port 1234, but each
instance binds to a different ip address.
that is to say:
instance #1 binds to 192.168.1.5/port 1234
instance #2 binds to...
|
thread by: javasomething |
last post Mar 19 '07 by: RedSon
I need to finish this assignment can someone help me plz.
The Car Class
The purpose of this assignment is to learn how to write your own class that serves as a template for creating objects. The Car class represents an automobile. Each car has a color, miles driven, and the amount of gasoline in the tank (gallons).
The Car class...
|
| |
thread by: shana07 |
last post Mar 22 '07 by: r035198x
I need help on my random number program.
It is supposed to generate 40 random numbers (large numbers). But I just get 10 numbers and the result text file is emptied ...please teach me.
Thanks
import java.util.Random;
import java.io.*;
class RandomNumber
{
public static void main (String args)
|
thread by: ding |
last post Mar 20 '07 by: ding
I am facing problem to writting file to MySQL database in java application. Can show me a example code? Thanks!
|
thread by: pravipravi |
last post Apr 21 '07 by: pravipravi
id=request.getParameter("txtId");
51: pwd=request.getParameter("txtPwd");
52: rslogin=getAllData("select * from login where username='"+id+"' and password='"+pwd+"'");
53: while(rslogin.next())
54: {
55: flag=1;
56: session.setAttribute("UserId",id);
The above given is my coding.In my login...
|
thread by: no1zson |
last post Aug 6 '07 by: JosAH
I do not even know how to correctly ask this question.
I have an item field in the code I am about to post. Simple intger meant to be an item number for a cd. The user enters this number.
Over the last week I have played with Add buttons, Del buttons, Modify and everything else and it brought to light a problem I want to address today.
I have...
|
thread by: KWSW |
last post Aug 10 '07 by: JosAH
Ok I am really confused now. Maybe its not my programming or something. Anyway just for background, the final part of my assignment is to encode a text with 8458 characters with huffman, encode it with hamming and send it through a channel simulator with 20% chance of error(1 become 0 and 0 become 1) and use hamming to correct the errors and...
|
thread by: teenIce |
last post Aug 30 '07 by: Nepomuk
Hi all,
Thanks in advance. I am new at Java. Currently I'm having two java files one is applet. when i try to preview the applet i get an error like this :
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at javax.swing.JEditorPane.registerEditorKitForContentType(Unknown Source)
at...
|
thread by: madhoriya22 |
last post Aug 24 '07 by: r035198x
Hi,
Here is the query which I am using to get the values from the database:-
"SELECT ?, COUNT(*) AS COUNT " +
"FROM DEFECT_DETAIL " +
"WHERE TARGET_MILESTONE = ? " +
"GROUP BY ?";
and here is function throught which I am getting data:-
|
thread by: dadimar |
last post Sep 13 '07 by: JosAH
I'm trying to write a program that reads unspecified number of positive and negative values, counts them and computes the average of the input values, not counting zeros. The program should end with the input 0 and display the average as a floating point number.
What can I use to count the input values?
Example: If I type 1, 2 and 0 the...
|
| |
thread by: kamsmartx |
last post Oct 16 '07 by: JosAH
hi
i have this code
but i have problem that is
i can ensert the NO of job and saved it on txt file named by memory
but when i close the file memory all data on this file is lost , how can i saved it without lost data
and i wont to make the file memory on the 100 kb
and when enter the total of the job great than 100 kb the program must be...
|
thread by: Osiris |
last post Dec 14 '07 by: Joshua Cranmer
suppose I wanted to make availble on the WWW a facility to do some rather
floating-point-calculation-intensive stuff.
I can do that in PHP, but then all work must be done on the hosters'
computer and PHP is SLOOOOOW.
Compiled stuff would be much faster, but no commercial hoster would allow
LAPACK stuff running on his machines.
In what way...
|