36,051 Topics

Member Avatar for
Member Avatar for brr

iam new to ajax i did some examples in jsp using Ajax really its very nice now i want to put Pop-up ballon i think using this without put view button in my screen, to view the particular item details within page plzz provide me its urgen for me i …

Member Avatar for peter_budo
0
80
Member Avatar for newbie_xml

Hi All, I am using the following codeline to run a cmd from cmd prompt. Process p1 = Runtime.getRuntime().exec("cmd.exe /k start vgnimport.... I have my structure like Class A B importcmd = new B(); importcmd.startimp(); sysout("out of cmd prompt"); Class B startimport() { Process p1 = Runtime.getRuntime().exec("cmd.exe /k start vgnimport.... …

Member Avatar for newbie_xml
0
124
Member Avatar for claudiu_is

I have several breakpoints and the debug goes in the first one, skips the next 2, then jumps directly on the last one, as if the 2 in between don't even exist. And this happened recently, with no big changes in the code and I've never experienced anything like it. …

0
118
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
351
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
196
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
56
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
124
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
100
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
709
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
132
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
103
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
125
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
193
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
113
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
79
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
122
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
157
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
163
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
124
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
184
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
37
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
80
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
101
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
45
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
Member Avatar for bestiazeem

i want to synchronize punjabi text in picture formate with audio already downloaded.can u help me please.

0
45
Member Avatar for AS_82

I am going to develop a J2ME application, where the application gets the complete dat from an XML file, for this have used kxml parser. And the parsing already done, but the problem arise after parsing, i.e., When I get a String of Unicode for a particular Word, then the …

0
56
Member Avatar for i_me_roo

Hi, Is there a way of timing how long it takes between a piece of code executing to when it finishes and then displaying this time? I would like to display a clock which begins timing when a program starts running and stops when it finishes. Thanks

Member Avatar for Aldehyde81
0
162
Member Avatar for reddirt67

not sure how this site works... I'm stuck with a run error (Array out of bound exception 4)and can't figure it out, i'm new to the world of Java programming, so I'm hoping I'm not asking anything dump! pasted my code here: /* Purpose: To develop a program to accept …

Member Avatar for javaAddict
0
40
Member Avatar for toomuchfreetime

Hey I've been writing this hangman code for last week in college. and nearly got it finished but am after running into a problem. i want to run two different button handlers but can not figure out how to?. one for the letter a to z which i have working …

Member Avatar for peter_budo
0
144
Member Avatar for first001

i hope you can solve this problem during 1 hour.:P Answer all of the following questions. a. Create a Student class that has: i. Two instance variables, name and id. ii. Two constructors with the following headers : public Student(int id, String name) public Student(int id) iii. Two get (accessor) …

Member Avatar for jasimp
0
248
Member Avatar for flipflop11

Hi, Im currently writing some code to search an array for a key, though am having problems as the if loop I've got stops after one key has been found. the problem is that my array has multiple keys, so it needs to carry on looking! i know that it's …

Member Avatar for orko
0
113
Member Avatar for balasuresh

am student of computer science. i take my final year project this semester and i do not have any project title. i will like to do some web-based system.Can you give me some title?

Member Avatar for orko
0
73
Member Avatar for Valleyman

Can anyone help me .iam doing a distributed real-time banking application.I need ides on desinging the module. i plan to use sockets in the implemntation of the system

Member Avatar for orko
0
71
Member Avatar for Dragonetti

I am a beginner on Data Structures Here is my code, I seem not to be able to figure out how to delete a little node. Someone help me out please :D Here all the methods needed to delete a node. [code] public void eraseTree() { root = null; } …

Member Avatar for orko
0
151
Member Avatar for arif_iskandar

I got a problem in order to access the value for my radio button. I'm developing web application system that allow user to book something. so, i display the detail in list.But, i don't have any idea how to access the value.. this is the coding [code]<%@page import="java.util.*" %> <%@page …

0
72
Member Avatar for Lioshenka

Hello, kind sirs. I am making a JUnit test case to test one of my classes. Short description of the tested class: it takes two integers - one of them is "minLen", which is entered by the user. After that the "main" method calls the "talk" method, which sets the …

0
70
Member Avatar for Helpwithjava

I Would like to create a High Score For a Game in jave Called Jetman. i have created a class in java called Score and Score list to display the score but i do not know how to create a highscore using an Array List the Score Class is package …

Member Avatar for Helpwithjava
0
143
Member Avatar for jatin29
Member Avatar for Helpwithjava

package jetman; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.*; //import java.util.Arrays.sort(); public class scoreList { String filePath = "Score.txt"; private ArrayList<Score> scoreArrayList = new ArrayList<Score>(); /** Creates a new instance of scoreList */ public scoreList() { FileWriter writer = null; try { writer = new FileWriter("Scores.txt"); } catch (IOException …

Member Avatar for jwenting
0
94
Member Avatar for rdhiravani

Hi, I have a JTable (call it Log Table) in my code showing Records & below that I have other tables showing some statistics based on new Record Inserted. The Log Table contains 21 columns. Each time a new record fetched is inserted into Log Table as it is & …

0
63
Member Avatar for themailsian

Dear Sir, Can I use SQL query with in the Jave script being used in ASP page. If i can please reffer me some samples code. Actually I have made a form in ASP code it contain a combobox with items from the database. on the selection of any item …

Member Avatar for sbv
0
74

The End.