35,618 Topics

Member Avatar for
Member Avatar for nikk

In my website, the pages where i allow the users to update their details(such as - change password and update contact details), i want to open them in new window, rather than the current one. Can you please tell me what should be the code for it? What i know …

Member Avatar for nikk
0
347
Member Avatar for mikeandike22

i am trying to make a program in c# based off another program that was written in java i would like to know if anyone nows what syntax you use to link other source files to your program. in other words the c# equivalent to java's [b]import[/b] code.

Member Avatar for Nilkumar
0
193
Member Avatar for deskclutter

Hey, I was wondering if you guys could help me with a homework problem that I have. I need to input data in from a text file and then put that data into two separate arrays. I believe I have that somewhat done now, but I will need to manipulate …

0
54
Member Avatar for larslt

Could someone please help me with finding the greatest common factor(GCF)? i need to know how to put it into code using a loop. Thank you for any help that you can give me!

Member Avatar for Ezzaral
0
128
Member Avatar for nedmo

Hi all, I am doing an application that involves server and client side, the server side is responsible for storing, and retrieving the files, with some little manipulations. The UTF-8 encoding is being used as our default charset, and the data display correct on any java client, like eclipse, or …

Member Avatar for orko
0
122
Member Avatar for KimJack

Can someone tell me how to correct this? [CODE]for(int i = 0; i < 7; i ++) { if(team.group.toys[i].getName().equalsIgnoreCase(name ) { team.insert(team.group.toys[i].getDescrip()); System.out.println("OK"); } } System.out.println("Is not included.");[/CODE] This is so simple that I cannot figure out what the problem is. I need "OK" to print if the getName() equals …

Member Avatar for KimJack
0
99
Member Avatar for debee

Hi everyone, Could any one help me with this code, please. I do not know why it's giving this kind of error. The code, which is a part of a lager program, is as given below. I will try explaining what each variables represent. public void backwardComputation(int m, Double desiredOutput[][]) …

Member Avatar for debee
0
96
Member Avatar for CaffeineCoder

I'm trying to create a burst on the screen by running through an image array. As a test I created 3 gif images named One, Two, and Three (each one displays the associated number). The problem is, there is no way to view each image in the array; the only …

Member Avatar for Ezzaral
0
705
Member Avatar for ntdaycott

Hi i have made a student and cohrt collection class program The compiler give me error: illegal start of expression line 46 The cohort class file: import java.util.*; public class Cohort { private static int groupSize = 15; private HashSet aCohort; public Cohort() { aCohort = new HashSet(); } public …

Member Avatar for Ezzaral
0
131
Member Avatar for madhusamala

i am doing an acadamic java project by using html, servlets. in html form tag what is the url that i have to give in post attribute. and i am using access as my database. it is giving that httpserver error that given table is not found. will u please …

Member Avatar for Nilesh Pagar
0
149
Member Avatar for KimJack

Hello All, I am working with an array of objects that contains names and descriptions. For example: Car : A blue jetta Pet : A small dog . . . My question is since it is an array of objects, how can I extract just the name "Car" or just …

Member Avatar for KimJack
0
101
Member Avatar for abhi287

Hi I m developing program whose output is like a table which i want to get display into an excel sheet.. Wheather it is possible to display the program output into the excel sheet.. plz reply.. Thnaks..

Member Avatar for ahilan_23
0
124
Member Avatar for jkdil33

Hi, I want to run a .jar application in the client machine(Its a web application).But I think we need to install jdk for running a .jar application. Is there any way to run a .jar application without installing jdk?(By keeping some dll or some necessary files only) i want to …

Member Avatar for ahilan_23
0
1K
Member Avatar for philyums

I've read quite a few of the posts on this forum and others about similar problems but i can still not fix this annoying prob! It only started a few weeks ago I think, but can't think what changes I made, if any! :confused: I click on a link and …

Member Avatar for Seb21
0
188
Member Avatar for foya

Hi guys :) Well I have this project in which we have to build an application that tack the instructors names, the sections, the rooms, and the classes times to generate a schedule for the next semester. But am really new in this field and I have been searching for …

Member Avatar for Nilesh Pagar
0
111
Member Avatar for Dhaval_Vora
Member Avatar for xiaotu1990

i can get the class working, but how should i order the array by the highest to lowest word count. is it possible to order it in alphabetical order if all it prints is multiple of Xs.... [CODE]import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.lang.reflect.Array; import …

0
78
Member Avatar for mahesh kharvi

guys i m really havin hard time to establish connection bet jsp n mysql...give me some tips..i ve done all the procedures required for that n i couldn execute the followin code [code=html]<%@ page import="java.sql.*" %> <% String username="mahesh"; String password="mahesh"; String connectionURL = "jdbc:mysql://localhost:3306/mahesh"; Connection connection = null; //Statement …

Member Avatar for ahilan_23
0
119
Member Avatar for fpaquin

Hi to all, Can someone tell me how to add tab pages to a JSP. I would like to have different input fields in each tab page. When I press submit, all input fields (in all tab pages) are sent to the server and not only the ones in the …

Member Avatar for orko
0
156
Member Avatar for brinze

I have been helped here once before. I got the info I needed to solve my issues. I'm a beginner and this online class I'm taking is killing me. This assignment involves the use of loops, most likely do-while, and possibly others. Essentially the program is to have the user …

Member Avatar for wonder_laptop
0
162
Member Avatar for eleonora

Hello, I did a pagerank application but unfortunately it does not posting the url to the server. Can anyone have a look to my code and tell me what im missing ? ! Thanks in advance! [CODE=java] import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectOutputStream; import …

Member Avatar for orko
0
123
Member Avatar for hartig

Hey, I'm new here (as you can tell), and I'm in need of some help.. I need to make a interest calculator that displays the years, beginning amount of each year, the interest of each year, and the end amount of each year. I have the GUI all set up …

Member Avatar for hartig
0
183
Member Avatar for Parsu7
Member Avatar for torbecire

I am building a class that gets a proper fraction converts it to improper and does things like add, multiply... I have no way of testing this since they all have methods. Could someone tell me if this works. Thanks. [ICODE] // THIS CLASS DECLARES PRIVATE VARIABLES. public class Fraction …

Member Avatar for torbecire
0
105
Member Avatar for miseint

Can anyone help me with prepared statement? I want to retrieve data by using join tables with prepared statement. Even an example will do. Thanks

Member Avatar for jwenting
0
35
Member Avatar for parthiban

Hi all , I'm new to Networking programming in JAVA .I want to send messages across hosts which are in the same Domain without using any Server program . I'm not clear whether to use UDP or TCP . Give me some ideas and links which are useful to accomplish …

Member Avatar for jwenting
0
110
Member Avatar for java_programmer

I have installed tomcat 5.0.30 and binded to port 8080. But whenever I started Tomcat , got the following error : LifecycleException: Protocol handler start failed:java.net.BindException: Address already in use:JVM_Bind:8080 But no other process or program is not running that time. Also when trying with url [url]http://localhost:8080[/url] , it asks …

Member Avatar for latha_nov
0
78
Member Avatar for Parsu7

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 10 at java.lang.String.substring(String.java:1935) at exceptionprac.Excp.main(Excp.java:22) Java Result: 1 I just want to know what is the meaning of Java Result: 1

Member Avatar for bugmenot
0
100
Member Avatar for warlockune

We are supposed to make a frame eventually that shows different buttons corresponding to methods, allowing for someone to switch, add, remove, find (using object name find number in array), and get(use number position in array to find other pieces of data), and readData, allowing someone to read data from …

0
44
Member Avatar for leroi green

hey guys and gals, newb back again with a little request from the Java Gods. in line 31 i've got an error saying "cannot find symbol" [code]NextRecord record = new NextRecord();[/code] [B]i've got 2![/B] count 'em 2 Java books and i'm still stuck...Help? [code] import java.io.File; import java.io.FileNotFoundException; import java.lang.IllegalStateException; …

Member Avatar for leroi green
0
108

The End.