36,051 Topics

Member Avatar for
Member Avatar for micheal_lobster

Hye..Anybody can help me? I need some help here.. Below is program 1 (main program)[CODE]import java.util.*; public class Staff { public double weeklyIncome, monthlyIncome; public String name, staffId; [B]/*how to code the input method to read the staff name, staff id and weekly salary from a keyboard?*/[/B] } //Program 1 …

Member Avatar for micheal_lobster
0
125
Member Avatar for divakar kumar

I am unable make a servlet by JSP what i have to do for. Why occur this type of problem

Member Avatar for peter_budo
0
55
Member Avatar for sangham

Hi friends, I am new to struts and jsp. My problem is after i click a particluar link,a page gets open where there are some pre populated values in the drop down list in that page. can anyone help me with how should i go for this? Thanks in Advance

0
60
Member Avatar for shobha1335

[B][/B] Hi, I have membership type in application as [B]Select Membership type:[/B] 1 year(radio button) 2 year(radio button) 4 year(radio button) [B]courier delivery:[/B] courier(radio button) currently tab sequence going from 1 year radiobutton to courier button but it has to go as from 1 year to 2 year to 4 …

0
61
Member Avatar for Dio1080

Im just trying to figure out why I have a array out of bounds that all can somebody help? [code=java] public class Life2 { public static void main(String[] args) throws Exception{ boolean dead; int winsX = 0; int num = 1; int count = 0; int countL; int countD; char …

Member Avatar for Alex Edwards
0
143
Member Avatar for ceyesuma

Is there someone that could answer questions concerning the HibernateTravelApp tutorial. I have written it a couple times per the tutorial and I am presently remodeling it to fit my own MySQL database. If there is a convenient way to transfer this data base along with the .zip of the …

Member Avatar for sciwizeh
0
258
Member Avatar for llemes4011

ok, so, we have to make a program that displays the date 100 days from today, the day you were born, and the date 10,000 days after your birth date. I've done all that, but i want to take it a step further, i want the user to be able …

Member Avatar for llemes4011
0
145
Member Avatar for sparis

I would like to ask your opinion[s] about how to approach the problem of generating Swing application UIs at runtime. And, to start: I am writing a Swing client application - not an applet and not a browser-based application. My IDEAL user experience would be to simply display DHTML in …

Member Avatar for sciwizeh
0
124
Member Avatar for tactfulsaint
Member Avatar for tactfulsaint
0
82
Member Avatar for zorro3692

Hi, I have a web application employing a servlet that processes database requests from user input params and forwards the total count of the resultset to my display jsp using request.setAttribute(...). I retrieve the value of total count in my display jsp using request.getAttribut(...) and the value returns correctly. However, …

Member Avatar for zorro3692
0
131
Member Avatar for danale

Hello, I am new to JSP. I would like to learn how to create a JSF application that has a table within and the user can add items to the table , update existing items or remove items. I am working with an Oracle database. I will be happy to …

Member Avatar for ~s.o.s~
0
73
Member Avatar for esy928

hello! is there a method or class that lets you assign events to the keys of your keyboard (spacebar to fire gun)? and is there a way to measure how long the key was held down? thanks!!! any help is greatly appreciated.. ive tried google-ing it but i had no …

Member Avatar for esy928
0
155
Member Avatar for erniestl

I am getting an error when I try to install java on my computer that I just installed windows xp home. the harddrive was formated when I installed xp . It gives me this error "error applying transforms. Verify that the specified transform paths are valid" How do I correct …

Member Avatar for gerbil
0
95
Member Avatar for kohuke

Hi. Me again. I have searched google and found no good tutorials to help me. I'm using "Glassfish v2", "Mysql v5" and "NetBeans 6.5 beta". ***I have to make a seach jsp page that searches by different parameters stuff from database - meaning from one parameter to several. [LIST=1] [*]Which …

Member Avatar for peter_budo
0
173
Member Avatar for chathuradd

I'm developing an online web based system for my 3rd year project using JSP & Servlets. I have a database table which includes details of the applicants..and I want to display the information of each applicant page by page. That mean only a single person's details is displayed on the …

Member Avatar for stephen84s
0
104
Member Avatar for amrita.r

please help me.. m in final year MCA student.. i have to do a project on c-quiz application in Java[/U][/B] as front end and Oracle as back end.. if anyone can send me the source codes to <email snipped>

Member Avatar for stephen84s
0
100
Member Avatar for erinr

I'm working on a school project and I need some help. The below works, but when I click on the "Report" button I want my data to print to a new frame. I'm not sure how to do this. Do I use a JFrame? if(arg=="Report") { try { DataInputStream readinput …

Member Avatar for stephen84s
0
108
Member Avatar for mwg9119

I am trying to read in a group of numbers from a users input through a console after the sentinel value of 0 is entered then I need to output the largest integer put in and the next largest. I can get the largest but not the next largest. What …

Member Avatar for sciwizeh
0
72
Member Avatar for Engulu

Hello members, Am new in programming can someone help me and solve this for me i have tried and failed since last week. Thanks. Develop a simple application that, when run, Welcomes the users and tells them the name of the last person to run the application, this information should …

Member Avatar for jasimp
0
99
Member Avatar for mimiru83

Hi I am trying to get some images (10 frames per second) from a webcam so that later I can detect the moving objects.. My code is the following but I dont know how to change it so that I can get 10 frames per second.Any help? package video; import …

Member Avatar for mimiru83
0
71
Member Avatar for anonymous_cutie

we have this assignment to make a webpage where the user can add/insert/delete /save data to a database. the program is already finished and i had it up and running perfectly. like, all the functions work. but when i transfered it to another computer, it would not display any data …

Member Avatar for anonymous_cutie
0
117
Member Avatar for Dan_AlfaRomeo

Hi guys, I'm about to make a choice for my career and I want to know your opinion about it. I just graduated CS in Romania and I now have 2 distinct employment possibilities: 1. Junior Java Developer- one of the clasic paths for the fresh CS graduates 2. Junior …

Member Avatar for Salem
0
93
Member Avatar for amrita.r

Hi.. please help me.. i dont know much about java.. but i have to do a project Order processing System in java and oracle.. This project is only for shop keeper its not online.. It shoul have two categories 1)Order procsesing where it should take orders from customer for a …

-1
78
Member Avatar for rkp803

i need help writing a program where i input a Cent vaule and it should give me a value in how many ways can u create change for it in half dollars,quarters, nickels, dimes, pennys. for example if i typed 100 which is one dollar it should say 292. this …

Member Avatar for jwenting
0
192
Member Avatar for Ash22ambition

I really need some help in my Java Programming class. I am in the last week of my class and our final requires us to compose and compile an Inventory program. Please respond if you get this. I will be working on my project all night. My AIM is ash22ambition …

Member Avatar for jasimp
0
93
Member Avatar for peter_budo

After spending some time on JSP section of this forum as many before me, I come to the conclusion that we are in need of "proper" tutorial on this topic. This tutorial is not intended to teach you everything from top to bottom, it is just a starting point to …

16
8K
Member Avatar for guhanraja

i hav decided to do a chat program using jsp. please help me with proper guidance and if any old chat programs using jsp, send it to me my emailid: <EMAIL SNIPPED>

0
32
Member Avatar for hny_lyn

heLLo everybody!!! we are discussing java OOP's now!!! mainLy about Interfaces, Abstract classes and etc!!! weLL.., i would like to ask if you could give me some examples regarding this one!!! such as implementing interfaces on my main program!! the more complex the program is.....the more i want it!!! i …

Member Avatar for Ezzaral
0
79
Member Avatar for SylviaCrissy

Hi all, I am working with POI API. I am reading an excel worksheet and done some modifications using poi and saved the new file into different location.while writing into a new location the exist file removes the blank sheet which are not used by the program using workbook.removeSheetAt(index).When i …

0
51
Member Avatar for abhij1987
Member Avatar for stephen84s
0
58
Member Avatar for jOhN_pRattZ

hello im john rico a com sci student could anyone help me to make a program that has three equation and three unknown pls.

Member Avatar for Phaelax
0
185
Member Avatar for esy928
Member Avatar for esy928
0
303
Member Avatar for algorion

Okay im working on this game and all the code was in JSE 1.2 i just updated to that new package with the NetBeans IDE 5.0 and wh atnot inside it which is very nifty actually problem is all of my code when put into project files wont find any …

Member Avatar for javaAddict
0
158
Member Avatar for udani
Member Avatar for ceyesuma

[code] <id column="PERSONID" name="personId"> <generator class="increment"/> </id> [/code] What is this animal? is it setting a primary key? like wise [code] <set cascade="all-delete-orphan" inverse="true" lazy="true" name="trips" table="TRIP"> <key column="PERSONID"/> <one-to-many class="travel.Trip"/> </set> [/code] is this setting up like a file or list or something that uses like attributes? taking the …

Member Avatar for ceyesuma
0
100
Member Avatar for ceyesuma

private void buildPersonOptions(){ List<Person> personList= null; } I put this code in and it asked to import the class Person. as far as I know there is a null list(personList) of the type List. so why is the List have this thing? <Person> is what? -Steve

Member Avatar for ceyesuma
0
101
Member Avatar for kohuke

Hi, Well to start od i decided to learn how to create jsp pages and finally finish my project. So i used the netbeans tutorial for making jsp pages. The sample worked fine, but when i wanted ti retrieve information from my own database it do not work like it …

Member Avatar for kohuke
0
140
Member Avatar for lordx78

[code=java] import javax.swing.*; import java.awt.*; public class CreateToolbar{ public static void main(String[] args) { JFrame frame = new JFrame("Create a toolbar Which have three buttons Such as: Cut, Copy, Paste"); JToolBar toolbar = new JToolBar("Toolbar", JToolBar.HORIZONTAL); JButton cutbutton = new JButton(new ImageIcon("cut.gif")); toolbar.add(cutbutton); JButton copybutton = new JButton(new ImageIcon("copy.gif")); toolbar.add(copybutton); …

Member Avatar for lordx78
0
99
Member Avatar for Motvel

Suppose i have a JPanel 5x5 and the layout is GridLayout(). It's possible to switch cell between each other?

Member Avatar for Ezzaral
0
52
Member Avatar for ceyesuma

[code] Query q =session.createQuery("from Person"); [/code] ? so there is a Query q named "from Person") I don't understand how the actual query reads(via SQL). Can someone explain this code: because clearly there is a personList and a personOptions of the type Option[] the size of personList.size() and the 4 …

0
64
Member Avatar for ajithraj

haii.. [B]do anyone know any garbage collection command for java.... did we have to did that command for all object or will be done collectively?? [/B] thank u.....

Member Avatar for onkar81
0
108
Member Avatar for Thirusha

Hi I am trying to remove a session attribute from my app, currently i use the jstl tag remove to remove the attribute, this works in firefox when the browser is refreshed, but not in IE, so i then decided to use the session.removeAttribute method in a servlet that gets …

Member Avatar for Thirusha
0
69
Member Avatar for mayur_kulkarni

i have one small application for bank in java. i run it from command prompt. now i want that , when i run my programm from cmd prompt, 4 instances of it should run on 4 different cmd prompts. they should be related to each other. if i open one …

Member Avatar for stultuske
0
100
Member Avatar for shijunair

Hi everyone, I am facing a problem in my project .I am sure you'll will find a way out.I am working on a project leave management .now i am really confused as to how to go ahead.I am working with jsp and ms-access .Here the scenario is i have two …

Member Avatar for peter_budo
0
155
Member Avatar for manish250

i have taken date month nd year in menu in simple jsp not javascript.i want whwenevr i click on feb date list automatically contain 28 or 29 days.please reply me in a day

Member Avatar for peter_budo
0
92
Member Avatar for newtechie

i have a problem in getting the required display in barchart my intended display is year91 -------------- 110 but i get a display as year91 -------------- year91 can anyone please let me know what is wrong in my html file or java code. [CODE]import java.awt.*; import java.applet.*; public class BarChart …

Member Avatar for newtechie
0
116
Member Avatar for shaynicb25

I'm having trouble getting my program to compile. I have to add the method equalStack to the class StackClass that takes as a parameter a StackClass object, say otherStack, and returns true if this stack is the same as other Stack. When I compile the program I get lots of …

Member Avatar for Ezzaral
0
136
Member Avatar for arun_cdm

I need code for developing "schedule alert system in java", this is my nano project in my course. I need the help, in this application , i need to --> get the name and date from the user --> process the data --> Trigger an alert during the time mention …

Member Avatar for Ezzaral
0
95
Member Avatar for samuel_pay

alright here is the background, i am developing a turn based war game with hit points, attack points and all that, i was just wondering if you could have a look see at my UML diagram to see if it looks alright ? If not then any improvements would be …

Member Avatar for dickersonka
0
75
Member Avatar for ricss_madara

class bubbleSort1{ public static void bubbleSort(int[] x) { int n = x.length; for (int pass=1; pass < n; pass++) { // count how many times // This next loop becomes shorter and shorter for (int i=0; i < n-pass; i++) { if (x[i] > x[i+1]) { // exchange elements int …

Member Avatar for mayur_kulkarni
0
93

The End.