36,051 Topics

Member Avatar for
Member Avatar for sargarpramod

Hi guys i have started with JSP and i have following query regarding JSTL If i have Checkbox on JSP Page how can i get all the elements which are checked using JSTL

0
54
Member Avatar for prateeknigamk

why it is use full to resolve overridden method at runtime rather than compile time

0
75
Member Avatar for ezkonekgal

This is a code converting infix expressions to postfix expression and evaluates it. there is a problem, when i run it in ECLIPSE, it it displays this errors: Exception in thread "main" java.lang.NumberFormatException: For input string: "4+4" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at Postfix.toPostfix(Postfix.java:39) at Postfix.main(Postfix.java:21) Can anybody help …

Member Avatar for ezkonekgal
0
222
Member Avatar for ezkonekgal

[code] import java.io.*; import java.util.*; public class InfixToPostixEvaluate { private static final String operators = "-+/*"; private static final String operands = "0123456789"; private static int getPrecedence(char operator) { int ret = 0; if (operator == '-' || operator == '+') { ret = 1; } else if (operator == …

Member Avatar for ezkonekgal
0
132
Member Avatar for Koldsoul

I am having an issue with a subclass. When I put in the code [code]package Ch1Pkg; public class RoundBaseContainer extends BaseContainer{ [/code] to implement the superclass of BaseContainer, I am getting an error that says cannot find symbol Symbol: constructor BaseContainer() location: class Ch1Pkg.BaseContainer I have the files in the …

Member Avatar for Koldsoul
0
95
Member Avatar for wrappingduke

Hello, Attempting to run java app from zip file rather than jar but having some difficulty. I have placed all the classes for the app in the zip. The files not are compressed. Here's a sample of the code: [CODE] 'the following tries to run Main.class. Also, tried calling app …

Member Avatar for wrappingduke
0
77
Member Avatar for santosh jujgar

Hi friends , after a long time , I am here to share my ideas with u . I m a final year engg. student of IT stream. Right now I am doing project on Java & .net i.e.on both platforms. I just want to know that whether anyone has …

0
25
Member Avatar for suganth

[COLOR=red][B]Please help me how to check whether the username,password entered in the login page is validor exists in the database User name,Password fields[/COLOR][/B]

Member Avatar for peter_budo
0
156
Member Avatar for leverin4

This is a VERY basic program to calculate the area of a circle, triangle, or quadrilateral. The interface we run the program on is STOP, so we can only use numbers to run the program once it is compiled. This is the reason there aren't any strings or anything like …

Member Avatar for stultuske
0
83
Member Avatar for Kelly4270

I have a background that has the hover capability, but I want to get rid of the hover and make it one color. I know a little bit about this, but not enough to fool around with it too much. Can anyone help me? Thanks!

Member Avatar for Phaelax
0
81
Member Avatar for EDDYGATE

I have written a browser in java but it is only able to display saved web pages on my computer or html files created by me. It is not able to display a page when i type any URL in the address bar. Please help me Here is the code …

Member Avatar for Phaelax
0
103
Member Avatar for sInFuL69er

Hi everyone, I got a small problem with my JList with MULTIPLE INTERVAL SELECTION. When i click on a item it adds the price to the total and when i ctrl+click another item it again adds the price to the total Then problem is when i deselect one of the …

Member Avatar for Phaelax
0
142
Member Avatar for tanha

Hi. I am using windows, and NetBeans version 6.1 I create a JSP project: and then I create an index.jsp in web folder and then I created a LoginAuthentication class in a package named connection. BUT I dont know why when I click the singin button of the index.jsp, an …

Member Avatar for Ravindra_Nikam
0
121
Member Avatar for zwench

This is what it is supposed to do. If this helps. This file should read the records from the Graduate file first, in sequential order as the “View Student” button is pressed. When the program reaches the end of the Graduate Students records, it should modify the JFrame to display …

Member Avatar for zwench
0
179
Member Avatar for Gaffer

Hi all, I'm very new in this area and I'm looking for some help. What I eventually want to do is upload a file from my java application to a server, for the moment I've installed Apache on my local machine for development/testing. The way I see this working (please …

Member Avatar for stephen84s
0
78
Member Avatar for daniel50096230

Hi,I had created a Combobox called cboStart at the GUI form...Now I would like to add the integer of 1 to 12 into the combobox,may I know how can I do it?

Member Avatar for javaAddict
0
156
Member Avatar for tanha

Hi. I have a LoginForm.java, and then when the user enter the right username and password, then another file called "DictionaryForm.java" opens and the LoginForm.java, closes. How can I do that ??? see the LoginForm.java: [URL="http://www.daniweb.com/forums/thread119702-2.html"]http://www.daniweb.com/forums/thread119702-2.html[/URL]

Member Avatar for stultuske
0
1K
Member Avatar for shankar101

hi i am doing java project cable network system for local cable operater.but i dont know which information i m including in project .plz tell me

Member Avatar for masijade
0
48
Member Avatar for Panarchy

Hello This is the sister article to my question on C++. I've been told by some other people that java is a better language to learn for the kind of implementation needed. Please don't close the other topic, or stop replying to the other topic, as both of these will …

Member Avatar for masijade
0
239
Member Avatar for aarya

i am learning jsp so i wanted to know any body offer free jsp web hosting? thanks

Member Avatar for stephen84s
0
1K
Member Avatar for Dolly-Sweety

[code] <table width="703" height="474" border="0" align="center" bgcolor="#FFFFFF"> <tr> <td align="center" width="647" height="470"> <form name="form1" method="post"> <table align="center" width="606" border="0"> <tr> <td width="144"> <input name="R2" type="radio" value="radiobutton" /><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">To All User</font></b> </td> <td width="235"> <input name="R2" type="radio" value="radiobutton" /><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">All at Particular Level</font></b> …

Member Avatar for haoyou2008
0
1K
Member Avatar for janustt

I have a dice game to need to creat that plays until the total of the two die equals the users number, or the two die roll 3 total times. I also need to display the die after each roll. Something like this: Six: Five: and so on... * * …

Member Avatar for janustt
0
161
Member Avatar for jiwatramani

hello ! its stupid to ask this question......but has anyone implemented hash maps in java ? can someone please post a code here. im really unable to implement it and unless i dont do that, it'll be very difficult to understand its concept. thank you.

Member Avatar for Ezzaral
0
101
Member Avatar for brain damaged

hi, I'm working on an exercise, i did a lot of work already and i just can't figure where I'm going wrong, this is what I'm trying to achieve Sample IO ******************************************************************************* Welcome to PeopleSoft 2 MENU: (A)dd student, (D)elete, (L)ist, (S)ort, e(X)it a Enter the student number MSXMIC001 Enter …

Member Avatar for jwenting
0
168
Member Avatar for jnnmn7

Hi, whenever I try to load any javascript link I get an error. I have reinstalled javascript and that didn't help. I don't no what else to do. Please help!!!

Member Avatar for caperjack
0
29
Member Avatar for peter_budo

I yet did not master the skill of concurrency better say I failed on first attempt and since then did not tried, therefore I'm asking for help. Currently I working on JME application where I need to load mp3 files into Player. I'm able to do it with one file, …

Member Avatar for Ezzaral
0
136
Member Avatar for Saaddani

I am programming using a Java Editor called "TextMate" on the mac and it often gives me errors that I don't get when I compile using TextPad on the Windows machines at school. Can someone check if this compiles on a Windows machine please? The errors are under the code, …

Member Avatar for jwenting
0
168
Member Avatar for ahtide24

t can contain an Address Book, Calculator, Calendar, Dictionary, To Do List, Clock, etc. It is not necessary that it will look exactly like the Mac's Dashboard or the Windows Sidebar (especially when it comes to the look and feel; with transparent and animation effects). What's important is it contains …

Member Avatar for kalyan_au_cse
0
137
Member Avatar for priti_s

which are the legal methods in a stateless session bean class? thanks in advance! :-)

Member Avatar for masijade
0
76
Member Avatar for VirusTalker

import java.io.*; import java.util.StringTokenizer; public class Proj21110 { private static int MAX_UNKNOWNS = 10; public static void main (String[] args) { headerMessage(); // print header BufferedReader in = null; if(args.length > 0) { in = getReader(args[0]); // open file System.out.println("Opened file: " + args[0]); } else { in = getReader("guess.data"); …

Member Avatar for kalyan_au_cse
0
144
Member Avatar for kalyan_au_cse

Hi, I have project where a part is to make a maven 2 plugin for files to escape HTML content and generate a new file. I did it, to do this I used apache-commons-lang 2.4 library. But there is a new requirement now. They want to use it on a …

0
70
Member Avatar for francisprite

I already know C and I have to learn Java. Can anybody recommend an ebook I can read?

Member Avatar for kalyan_au_cse
0
125
Member Avatar for dreamer14

[code=jsp]<%@ page import="java.lang.,java.util.,javax.mail.,javax.mail.internet., javax.activation.*" %> <% String p_to = "abc@hotmail.com"; // Please fill in your email here String p_from = "abcd@yahoo.com.sg"; // Please fill in receipient’s email here String p_subject = "Testing"; String p_message = "This is a test email"; String l_host = "smtp.mail.yahoo.com.sg"; // Gets the System properties Properties …

Member Avatar for peter_budo
0
179
Member Avatar for phintastic

I'm not quite sure what is wrong, and I am VERY new to programming but heres teh problem: Scanner scanner; scanner = new Scanner(); This is what I have, and this is the error message: cannot find symbol symbol: constructor Scanner() location: class.java.util.Scanner And also, there is a problem with …

Member Avatar for Alex Edwards
0
1K
Member Avatar for priti_s

hi i am new to java i have been assigned to a work where i have to take DTD file as input & i have to generate TRN file & i have been told to write the program into different classes. From DTD file i have to make a different …

0
52
Member Avatar for Gerbilkit

I say urgent because I have to finish it pretty much tonight or maybe very early tomorrow morning. But I am moving along decently on the project, so it's not like nothing is getting done. Basically I have a problem with a class I am in the process of completing, …

Member Avatar for stema08
0
243
Member Avatar for ingza

Hey there! I was wondering if someone here could help me out a bit. I'm a beginner in Java and I'm struggling a bit with understanding if it is me who is doing something wrong or if something is just missing from my software to run the thing I'm trying …

Member Avatar for ingza
0
116
Member Avatar for brain_26

Need some help with this script. When I run this script it works well. However, at the end of the day it freezes at evening. The following day when I run the script it starts at evening, and it should start by saying morning. Am I missing something? [code] string …

Member Avatar for Ezzaral
0
105
Member Avatar for kogues

Ok, I'm taking a intro to programming with java class, and for the most part I've been able to keep up with the assignments. I'm in the process of writing a statement that will output the cube root of a number, I've come up with the below as what I …

Member Avatar for Ezzaral
0
74
Member Avatar for qaz1134

hello, guys i have a really stupid problem about characters and string; i dont know which to use. wacko.gif iam bubble sorting for example a name::'( :?: input: [B]dreamincode[/B] output: [B]a c d d e e i m n o[/B] why does my code in error? my compiler saids the …

Member Avatar for Ezzaral
0
133
Member Avatar for rainny

Hi, I have an aaplication which can play the .wav file. However, I want to get the timing of each word spoken by the person. For example, when the person speak the first word, the time will being recorded in the text area and also the word spoken. the process …

Member Avatar for Ezzaral
0
103
Member Avatar for ocreds

I find it difficult in this java programming language that's why I need your help to defend this code in my class. I got this code from internet with comments and explanation. but there are some codes and explanation that I don't understand. [CODE= java] /* Read me: Note: As …

Member Avatar for javaAddict
-2
293
Member Avatar for harz_crazystud

[code=Java]protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); String name = request.getParameter("name").toString(); ArrayList a = new ArrayList(); int y =a.size(); Connection con = null; String url = "jdbc:mysql://localhost:3306/"; String db = "test"; String driver = "com.mysql.jdbc.Driver"; String user = "root"; String pass = null; try{ Class.forName(driver).newInstance(); con …

Member Avatar for peter_budo
0
191
Member Avatar for afolli

Hello, I have to base64 encode a large quantity of data and include it in the XML response of the webservice.The WSDL define the XML element in the following way: [CODE]<xs:complexType name="MessagePart"> <xs:simpleContent> <xs:extension base="xs:base64Binary"> <xs:attribute name="contentType" type="xs:string" default="text/plain" use="optional"/> <xs:attribute name="length" type="xs:int" default="0" use="optional"/> <xs:attribute name="offset" type="xs:int" default="0" use="optional"/> …

Member Avatar for afolli
0
177
Member Avatar for knarffrank

I'm practicing java language.. please help me out I got this error saying.. cannot find symbol symbol: constructor compAdd() location: class compAdd [code=java] compAdd c1 = new compAdd(); ///////////////compAdd.java import javax.swing.*; import java.awt.event.*; import java.awt.*; public class compAdd extends JFrame { public JButton button = new JButton("Add"); public JTextField txt1, …

Member Avatar for stephen84s
0
122
Member Avatar for llemes4011

Ok, so, for school, we have to write a program that calculates the value of Pi as accurately as possible. Earlier in the year, we worked with a "Turtle" program, it drew lines and circles, ect. it started in the center of the JFrame, and moved to where you told …

0
62
Member Avatar for terencemadzima
Member Avatar for dickersonka
0
56
Member Avatar for VernonDozier

This is a simplified version of a larger project. I have three JPanels contained in a larger JSplitPane called [ICODE]wholePanel[/ICODE]. The top panel and left panel hold labels and buttons, which I have not included here. The lower right panel, called [ICODE]canvasPanel[/ICODE], is where I draw shapes. I'm trying to …

Member Avatar for VernonDozier
0
829
Member Avatar for cmatos15

Hi, I need help on this assignment I have, the question asks to write a program that reads a non-negative integer number (4 digits maximum) and writes that number in words. it gives me: Private Instance [B]Variables: int value;[/B] The value of the integer number [B]Constructor[/B] [B]Numbers(int n)[/B] Initializes the …

Member Avatar for Easter Bunny
-1
258
Member Avatar for redflame777

Could some one look at this program and let me know if the Scanner object and variables are defined and defined correctly? And make suggestions on how to fix it if it is wrong. I also want to know if my validations are correct for employee, hours, and rate are …

Member Avatar for Easter Bunny
0
104

The End.