35,617 Topics

Member Avatar for
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
240
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
110
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
148
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
79
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
88
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
88
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
196
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
178
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
110
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
81
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
223
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
39
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
119
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
102
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
97
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
94
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
80
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
79
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
78
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
115
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
134
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
113
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
99
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
106
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
98
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
97
Member Avatar for ssimkhan

I'm trying to do an assignment to implement a unix shell and run commands using java. commands include read file, copy file, remove file and find substring in a file. I have managed to create the file and try out all commands individually but I've failed to run the threads. …

Member Avatar for Ezzaral
0
220
Member Avatar for katerinaaa

Hi, I would like to help me with a problem I have. I want to make a program that tokenize the text of an input file and create a new file with all the words (one word per line). Because in the input file there are numbers, html tags like …

Member Avatar for Ezzaral
0
170
Member Avatar for saurav

Hi All, I am getting the below error when i am trying to run my app. I am sun one app server.I have deployed my classes and jsp using the deply tool. org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for …

Member Avatar for saurav
0
248
Member Avatar for Acidburn

Hello there, I've got some information which is stored in a class object, these objcts are transfered to an action in the format of a set. I'm trying to put the set into a bean into my JSP, however im not having much luck. The error is as follows: [quote]org.apache.jasper.JasperException: …

0
77

The End.