36,051 Topics
![]() | |
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 … | |
I am unable make a servlet by JSP what i have to do for. Why occur this type of problem | |
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 | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how do i create image confirmation when registering new member in a web site | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> | |
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 … | |
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 … | |
please anybody tell me how to send message from pc to mobile from internet using java | |
hello im john rico a com sci student could anyone help me to make a program that has three equation and three unknown pls. | |
oh no! i double posted the thread! how do i delete one? sorry | |
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 … | |
1 121 12321 1234321 123454321 12345654321 1234567654321 | |
[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 … | |
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 | |
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 … | |
[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); … | |
Suppose i have a JPanel 5x5 and the layout is GridLayout(). It's possible to switch cell between each other? | |
[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 … | |
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..... | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.