36,051 Topics

Member Avatar for
Member Avatar for rollan

Recently I updated my IE6 to IE7. Everythings looks fine but my program using java plug-in doesn't works anymore. I though this only happen in my pc but my friend faced it too. I have been searching this case thru some search engines but cannot find why? Any suggestion? P.s: …

Member Avatar for peter_budo
0
162
Member Avatar for 4zlimit

I am using NetBeans for my java class. I am trying to run the ever popular inventory program. My issue may be elementary, but I am still not quite grasping it. I am apparently not compiling it correctly. I set up three programs (?) - "Inventory", "Products", and "TestDriver". My …

Member Avatar for peter_budo
0
81
Member Avatar for arunprashanth

Hi what purpose of HttpSessionContext? all the session information are stored this place. Thanks inadvance arun

Member Avatar for jwenting
0
129
Member Avatar for amtallah

hi all , i want to make function that remove any space before sentance (i.e if user enter multi space before your comment remove it ) and if enter multi space only this function return empty string .

Member Avatar for Ezzaral
0
101
Member Avatar for Jishnu

Hi, I am trying out a bank account program using the corejava package. I am getting a run-time eception when I create a new account & am unable to trace where the error is. Plz help. I am giving the code below. [CODE] import corejava.Console; /**************************************************************** **cLASS bANKaCCOUNT REPRESENTING THE …

Member Avatar for Ezzaral
0
261
Member Avatar for Makhno

Hello, I have a tag file used by my JSP's, in that tag file I have Struts 2 tags(textfield, radio, etc) The tags work OK, they output HTML controls and submit data, but the resulting page does not display the label (set in tag's attribute) and fieldErrors set by the …

Member Avatar for suvitha_raj
0
45
Member Avatar for saasbs

Hi all, i did code in jsp for "change password" when user want to change his password he have to enter his old password and then new password. if he enter wrong password there will be error msg display "sorry you have entered wrong password, and if he enter correct …

Member Avatar for suvitha_raj
0
162
Member Avatar for push

how to work servlet, jsp programs at eclipse 3.0.? Please give any online tutorial site for larning eclipse, and seting up envirnomets for eclipse. Please help me for this.

Member Avatar for suvitha_raj
0
73
Member Avatar for arun_daniweb

Hi, I have setup connection with GLUE directory. and getting some attribute also, which i am specifying in search array parameter, but not all. i need to fatch all attributes and their value. even i m not able to fetch the schema also. I don't know what is problem, as …

Member Avatar for arun_daniweb
0
90
Member Avatar for ssimkhan

I've tried to run the BankServer.java class for several hours and this is the error it gives me: G:\Distributed Objects\Exercise 3\BankServer.java:11: cannot find symbol symbol : constructor BankImpl() location: class BankImpl BankImpl b = new BankImpl(); I have other classes orf the Bank interface, BankImpl and BankClient but they're all …

Member Avatar for stultuske
0
155
Member Avatar for kpillsb39

What i have to create is a program that establishes 2 structs with arrays of CD Albums and then search the arrays for album names and display the album name, Artist or group, songs and their track numbers. My question is; [COLOR="red"]have i missed something in the code?[/COLOR], because it …

Member Avatar for hinduengg
0
241
Member Avatar for arunprashanth

Hi In any project we can set values to the session.and get value from the session. which place or path the session information to be stored. Thanks in advance

Member Avatar for jwenting
0
82
Member Avatar for karthic_victory

Respected Seniors & dear friends I want to know which tutorial is the best one to learn from basics of java. Please give me any links

Member Avatar for Ezzaral
0
148
Member Avatar for kpillsb39

I want the program to have the user select either Y or N to display the list of albums in the array, if the user entered Y to display the list of albums then have the user enter a name for an album from the list to search the array …

Member Avatar for ~s.o.s~
0
101
Member Avatar for dajiebuda

I have a code generated with netBeans. It use org.jdesktop.layout. I have the file swing-layout-1.0.jar. But I don't know how to compile and run mycode.jave with that jar file. Please write full comands if possible. I'm so new to java that every step use me 2 hours - 2 days. …

Member Avatar for Ezzaral
0
164
Member Avatar for ssimkhan

I've tried to run the code below for several hours and this is the error it gives me: G:\Distributed Objects\Exercise 3\BankServer.java:11: cannot find symbol symbol : constructor BankImpl() location: class BankImpl BankImpl b = new BankImpl(); I have other classes orf the Bank interface, BankImpl and BankClient but they're all …

Member Avatar for ithelp
0
70
Member Avatar for dajiebuda

I copy and paste code generated from NetBeans into a java file. To run it, I got message "package org.jdesktop.layout does not exit" What should I do? Thanks ahead.

Member Avatar for peter_budo
0
136
Member Avatar for mrark
Member Avatar for dotcom123
Member Avatar for mrark

i want a calculator project just use applet not swing or frame i hav but i took just input through mouse but dont perform any operation

Member Avatar for mrark
0
103
Member Avatar for randomFIRE

I'm trying to add an image to a button instead of text. I looked at some examples, and I can't figure out what I am missing. I've imported this because the ex. had it. Don't know if it is needed. [code=java] import javax.swing.AbstractButton; import javax.swing.JButton; import javax.swing.ImageIcon; [/code] Then this …

Member Avatar for ProgrammersTalk
0
127
Member Avatar for chihwei

Write the definition of a class Telephone . The class has no constructors, one instance variable of type String called number , and two static variables. One is of type int called quantity ; the other is of type double called total . Besides that, the class has one static …

Member Avatar for ProgrammersTalk
0
210
Member Avatar for dajiebuda
Member Avatar for LSPUWILLC

Hello everyone! The other day as I was surfing the net I came accross this Java Game on this web page: [URL]http://www.bosanci.net/ljubav.php[/URL] *It is a foreign language and it is a "Crush Calculator" - It asks you to type in a male name in the first string and a female …

Member Avatar for The Dude
0
243
Member Avatar for akash_msrit

hi everyone how to display mysql query results in a html or jsp page. using java script or any other if u have working code or sample code please send me please help me . its very urgent regards Manjunath

Member Avatar for ~s.o.s~
0
112
Member Avatar for teritori

hi everyone.I'm a beginner in java and i'm trying to create a full screen applet without any success.Any help will be appreciated. :D

Member Avatar for jwenting
0
151
Member Avatar for kpillsb39

Need assistance in the assignment on using an Array of structs. I need to know if the array is initialized properly or what i need to do to get it initialized. Some code has been commented out until i get the array initialized. Here is the code: [code=cplusplus] #include<iostream> #include<iomanip> …

Member Avatar for Narue
0
84
Member Avatar for nirmalaravi

Hi all I need a java application to be developed for Game of Life without using applets by using only arrays thanks in advance

Member Avatar for iamthwee
0
83
Member Avatar for j3p0yz

illegal starts of expression. public check() at line 50. can anyone hepl me please. class waiters { private double tab; public waiters(String name); { System.out.println("my name is"+name+",i''ll be your waiter!"); tab = 0.0; } public double priceof(String s) { double price; if(s.equals("chicken")) {price = 5.95;} else { if(s.equals("burger")) {price = …

Member Avatar for Ezzaral
0
89
Member Avatar for anibio

Hi, I want to know how can I capture the system date using a java program. I want to run this code automatically when the system is login. I want to capture the system date even if the user change the system date. Kindly waiting for your suggestions Thanking You …

Member Avatar for anibio
0
91
Member Avatar for icesnow

public class GradeSystem { public static void main (String args[]) { ........ public int searchStu(int id){ // problem happen int i=0; for (i=0; i<4; i++) { if (student[i].getStudentID() == id) return i;} return i;} int id; boolean d; id = Integer.parseInt(JOptionPane.showInputDialog("Please input ID number : ", JOptionPane.QUESTION_MESSAGE)); d = Student.isStudent(id); …

Member Avatar for j3p0yz
0
197
Member Avatar for msi_333

This a problem i faced .When i made applet the access file i faced the following exception: [INLINECODE]java.security.AccessControlException: access denied (java.io.FilePermission text.txt read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileReader.<init>(Unknown Source) at CheckTopScore.<init>(CheckTopScore.java:30) at MainFrame.<init>(MainFrame.java:200) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native …

Member Avatar for msi_333
0
183
Member Avatar for jadeite100

Hi All: I needed to passed an integer value from the following code: <%=ic.getTotalNumOfRecords()%> to an attribute of a custom tag <inquiry:tableClaimHistory numberOfRecords="5" dataAction="claimHistoryViewData.do" emptyKey="error.noData"/> The function getTotalNumOfRecords returns an int. The attribute numberOfRecords expects an string. Here are the different ways I tried in a jsp page but I …

Member Avatar for jwenting
0
112
Member Avatar for Acidburn

Hello guys, I've got my JSP set up so when I click on a href link it redirects it to a form, the form then takes in user information and has a html:submit and a html:cancel buttons. Actions are associated with these... Anyway my question is that when a user …

Member Avatar for peter_budo
0
84
Member Avatar for arunprashanth

hi im new to our community. im running jsp application in jboss server 4.0.4. in that without specify the port no? can i run the application is possible? send replay thanks in advance arun

Member Avatar for jwenting
0
225
Member Avatar for krish20

i want to make calendar with date and time my client asked me to do it within 5-6 days of time i am working on it. it seems it takes more time do it.where can i get free calendar applet to instantly put on my client website this is just …

0
41
Member Avatar for mody2007

i want to implement a special symbol like (integration symbol )in java i want a complete example that i can excute it

Member Avatar for iamthwee
0
122
Member Avatar for amtallah

hi, please i want learn java applet ,but i do not have any link to get correct start , i make search on this topic but i want to link include java applet from A to Z . thanks

Member Avatar for Ezzaral
0
105
Member Avatar for Fungus1487

is there any available free calendar swing components available or am i going to have to make one from scratch?

Member Avatar for stultuske
0
99
Member Avatar for Phaelax

Which would be the preferred, or more efficient, way to read in a 40mb XML file? I remember reading (awhile ago) there were different methods of parsing XML, some more efficient than others depending on the need. The entire file would eventually need to be loading into an array, so …

Member Avatar for jwenting
0
101
Member Avatar for uninvitedm

Hiya.. I have a jsp page to upload some files.. The session is used to store a Map ( session.setAttribute("filemap", filemap ) ). This map contains all the files to be uploaded. I have a file-input type, onChange the file here is added to the map. The map is stored …

Member Avatar for jwenting
0
87
Member Avatar for aruna_k_2006

hello everyone I am using jstl tags such as c:forEach to retrieve values from Bean through servlet ...........For some page if i put this statement (xmlns="[URL]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL]http://java.sun.com/xml/ns/j2ee[/URL] [URL]http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd[/URL]" version="2.4") in web.xml ,i get the correct ouput & for other jsp its showing ${} values as it is like ${bean.name}.......... …

Member Avatar for jwenting
0
84
Member Avatar for student_1

Hi every body I am a second year computing student and I was lately thinking about project ideas but couldnt figure out a good one. I have recently started java only in my second year and I was thinking developing a web application ( may be auction site ) for …

Member Avatar for jwenting
0
81
Member Avatar for ssimkhan

i need to enter commands in one line using delimiter "&" (ampersand) or ";" (semicolon),using one type of delimiter in a line. e.g "cat&cp&rm" or "cat;cp;rm". Both should not be used in one line e.g "cat;cp&rm", when this happens the system exits. I've tried the code below using Split method …

Member Avatar for ~s.o.s~
0
119
Member Avatar for rdhiravani

Hi I have a method, which is called more than 50 times a second. I have multiple(more than 10) individual variables of different data types initialised in that method & in last part of the method, a single String is returned appending the value of all variables (with conditions on …

Member Avatar for jwenting
0
136
Member Avatar for rahul_sharma

hi all [B]i m facing an hibernate error in my application using mySql5.0.3 as a data base and net beans 5.5 ide [/B] my application is running very properly but when i loging in next morning it displays the [COLOR=#000000][B]org.hibernate.exception.JDBCConnectionException: could not execute query[/B][/COLOR] and also [COLOR=#000000][B]Connection was closed due …

Member Avatar for ncton
0
115
Member Avatar for pabz_sarquilla

Hi to everyone! I want to learn java ... can anyone suggest books to study, like the one we have in C++. thanks in advance.

Member Avatar for pabz_sarquilla
0
103
Member Avatar for kahilw

basically what I am trying create a servlet that will receive the bytes that are being sent from the MIDlet. I have pasted my function that is sending the bytes from the MIDlet so we can be on the same page. If anyone can help please email me at <snipped> …

Member Avatar for hussulinux
0
112
Member Avatar for Sp!ke

This is a really strange bug... I'm doing a 'game' of sorts for Computer Science, and it works wonderfully. We have a main method that initializes things and starts the game loop. The game itself works when GUI.java is executed. Every method call in the main method is static. Now, …

Member Avatar for hussulinux
0
102
Member Avatar for alpha_gamma

Hello, I am a C++ programmer who just got an associates degree. I went for an interview yesterday and did very well on a C++ technical interview. The company actually deals partly in recruiting and part application development. The interviewer told me that it would be a good idea to …

Member Avatar for jwenting
0
99

The End.