35,618 Topics

Member Avatar for
Member Avatar for staneja

Hi i am making a new user page where user will fill username and password and i want to put some client side validation on it Suppose user has given wrong values in password and Confirm password column so before a request is send to secnd servlet i want to …

Member Avatar for masijade
0
191
Member Avatar for mat111

Hello all, Am new here, so please bear with me - if i dont get some things right! Okie Dokie. Lets get started. I was working with Tomcat/Servlet/ODBC. I created a table in MS Access. Created the Connection, Statement, query and everything. I want to retrieve the information from the …

Member Avatar for mat111
0
89
Member Avatar for jjt

Hi I try execute this code it compile without error but i couldnt execute, Where lies the problem need help import java.awt.*; import java.applet.Applet; import java.util.StringTokenizer; public class Kaleido extends Applet implements Runnable { Thread tumbler; boolean suspended; int timeout; Color background = Color.lightGray; Color lens = Color.black; int kaleidoSides,kaleidoSidesBy2; …

Member Avatar for Ezzaral
0
111
Member Avatar for new_2_java

Hi all, I want to create a function that adds certain amount of days for a given date. e.g. Say today's date is 21/9/2007. and I would like to add 95 days to this date. How do I accomplish that. Any help will be real appreciate it. Regards.

Member Avatar for Ezzaral
0
90
Member Avatar for apontutul

i want to show a image using servlet,which is being called by a java file (beans). in that java how will i get the parameter eg: poll-id=1,2 or 3...n from that jsp page?....here what i've done(.java file) but the its not showing the image(error: data not available): [CODE] package myapp.webwork.beans; …

0
76
Member Avatar for simoneffe

Hi, I must save the content of my JTextArea in a file .XML, how? I read a post in this forum on this argument [url]http://www.daniweb.com/forums/thread18383.html[/url] , but there isn't the solution. Can you Help me? Thanks

Member Avatar for peter_budo
0
36
Member Avatar for wasee

I have to do aproject in java so please guide me what kind of project can be done in java ? thanks

Member Avatar for masijade
0
166
Member Avatar for osirus0830

If one has no formal programming training how would you suggest going about learning java? Would it be necessary to learn another language first such as C++ or could one just grab an intro to Java book and dive right in?

Member Avatar for peter_budo
0
161
Member Avatar for hbk619

I want a line of buttons down the side of a swing window. I got this code so far: [code=java]import javax.swing.*; import java.awt.*; class basic extends JFrame // implements ActionListener { public basic() { super("Till"); setSize(600,500); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setVisible(true); Container contentArea = getContentPane(); contentArea.setBackground(Color.white); BorderLayout flowManager = new BorderLayout(); contentArea.setLayout(flowManager); JPanel …

Member Avatar for hbk619
0
2K
Member Avatar for sarath.koiloth

[B]What is a nested beans?i want to create a nested bean for my application?Please help Thanks[/B]

Member Avatar for lookof2day
0
93
Member Avatar for upstream

Hey, i am practicing in this book sample, it says i can rewrite my code for determining the highest value in my 3 input. the commented part is working perfectly (Line 19, 26), it can return the highest value... but when i try to rewrite it using the Math.max method, …

Member Avatar for upstream
0
161
Member Avatar for anil1219

Hi All... Plz solve my problem. String temp="Vendor number modified from 12345 to 00056789" How to separate these two numbers ? Plz reply soon.

Member Avatar for anil1219
0
105
Member Avatar for Dio1080

I'm working on a code on compatibility and it seems that after I ask and answer the first question, the program just stops, I have no clue why it doesn't go on to ask the next question, can somebody help my figure this out, thanks, oh here is my code. …

Member Avatar for Dio1080
0
140
Member Avatar for rapperhuj

Hello everyone, I just need help on this code. I can't debug it, I'm just new in Java and this is just my fifth assignment so I'm really having a hard time. Here's my code: [code]import java.io.*; public class input { public static InputStreamReader Reader=new InputStreamReader (System.in); public static BufferedReader …

Member Avatar for saifjob40
0
214
Member Avatar for quadiator

hi, i am just wondering if java/java applet can be used to "post" and "get" information from a website? i want my program post info to a site and get the output info back and display it . for example if i give it the input : <url snipped> it …

Member Avatar for quadiator
0
122
Member Avatar for iCez

Hi everyone, I hope you guys can help me. [U]Output[/U] Enter your department number: You belong to: 1-3 = Mr.X 4-7 = Mr.Y 8-9 = Mr.Z ------ [I]Error: When I input numbers from 1-9, the output that is displayed is always "You belong to: Mr. Z" Here's my code:[/I] [CODE]import …

Member Avatar for iCez
0
134
Member Avatar for ceyesuma

I just started jstl tag lib. I made one Web application. Does any one a lead on some good example of jsp's using tagLib?

0
58
Member Avatar for ceyesuma

in a jsp page I need to get a variable and then I need to set the txt in a txtbox on the page with the variable. How do I do this ( quick code example pls)

Member Avatar for ceyesuma
0
123
Member Avatar for KimJack

Hello All, I am trying to figure the best route to take for this problem. I am trying to read from a text file. The text file is setup at follows: John 90 98 9009 Smith 90 87 87987 Eric 76 66 23443... I am trying the figure how to …

Member Avatar for peter_budo
0
107
Member Avatar for muskan

i am using Apache Tomcat Version 5.0.28 but it is not working well i have just typed a simple code and it is giving error .i am providing error and also code please giude me where is the problem , i am new to jsp please help me thanx. .jsp …

Member Avatar for peter_budo
0
175
Member Avatar for Renzokouken_22

Guys... Can You Give Me Some Sources/Links/e-Books On How Can I Use mySQL in my Java Application... Because We Will Have A Project In Our Object Oriented Programming Subject... Please Help Me... I Really Want To Pass In This Subject...

Member Avatar for peter_budo
0
94
Member Avatar for ceyesuma

Could someone just look at this code and point out the obvious errors. It may or may not be obvious on what it is supposed to do. Never the less what I want it to do and the syntex are bad. Could someone just make observations on how to accomplish …

Member Avatar for ceyesuma
0
121
Member Avatar for Piuskutty

anyone , please help me , i want to upload pictures to server, . i am using apache tomcat server, where i want to save the uploaded files. help me plz.

Member Avatar for Piuskutty
0
116
Member Avatar for thenava

Hi, I'm trying to write a graphing application, that takes an equation and graphs it, and thats no problem. However, I want to add a cursor, which moves along with the mouse. I managed to add one, however, the cursor causes everything else to refresh too. Is there anyway to …

Member Avatar for thenava
0
116
Member Avatar for MattEvans

As title; unless there's already a way: [code="HTML"] <html> <head> <script type="text/javascript"> function myfunction( ) { alert( "Hello, World!"); } </script> </head> <body> <p>Some HTML code</p> <img onclick="myfunction( );" src="some_image.gif"/> </body> </html> [/code] [code="Javascript"] <html> <head> <script type="text/javascript"> function myfunction( ) { alert( "Hello, World!"); } </script> </head> <body> <p>Some …

Member Avatar for MidiMagic
0
184
Member Avatar for omoz4real

Hi please I not a new user in java programming language , i have been programming in java for up to 2 years but i have developed an interest in graphics. can any one please tell me where i can get tutorials from any website or refer me to any …

Member Avatar for Ezzaral
0
110
Member Avatar for saifjob40

i am new learner in java and i wan to learn how to do java database connectivity with MySql i wrote the code still i face problem , will any ony plase let me know the wexxat coding for that . plase help me i am in a greate need

Member Avatar for peter_budo
0
119
Member Avatar for Dio1080

ok I have a program that is suppose to use dialogs boxes to obtain input and display output and also use console input an output. But here is the thing, I believe my code is a little right but don't understand the errors, can somebody help me please, here is …

Member Avatar for Paul.Esson
0
84
Member Avatar for ceyesuma

This is where netbeans is putting my class files. How do I get the apache tomecat 4.0 and JSP page to find these classes? C:\myjspapp\creditcardProject\creditcardProject\creditcardProject\build\classes\creditcardproject

Member Avatar for ceyesuma
0
96
Member Avatar for Megha_Patni

Hi All, I have to do a validation on date in my form. I get a string of the format "dd/mm/yyyy" in my form. now i have to check that this date should be of the past including the present week(for eg. if I add the entry on 04/09/2007 then …

Member Avatar for ~s.o.s~
0
72

The End.