Dhivya rajagopal

Ranch Hand
+ Follow
since Dec 15, 2010
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dhivya rajagopal

Hi, i have some jsp projects. I am trying to execute those projects. I have SQL server. If it was developed using MySql, what are the procedure to run the project using SQL server.please tell me how to execute.
The following is the code for submit button

The following is the code for update button:

Thank you brown and ritchie, now its updating. For example I gave dhivya in username and mita in text box and click update means it is store in the database. That form contains submit button, it checks for the data entered in the text box with the databases and if it matches then it will display "successful". if it doesn't match, then it will display "enter valid username and password".
after updating , if i give the same value in the textboxes and click submit button means it is displaying "enter valid username and password".can you tell me why?
I have created 2 forms using swing in netbeans.first form helps to store the data entered in the form. second form contains 2 labels such as username and password, 2 textboxes and 2 buttons such as submit and update. if i click submit button , it checks the data entered with the database and if it matches, it display the dialog box-"Successfully". if i give new password and click update button,it should be updated.Here, is the program used for updating

My doubt is if i click update button , it displays Updated successfully, but it is not stored in the database. can you please tell why it is not storing?

The above program displays the following output:
My doubt is how the output for s2==s3 becomes false?
can you please explain
12 years ago

The following is the output for the above program
Round f4 is -5
Round f5 is 6
Round f6 is -5
Round f7 is 5
My doubt is how -5 became the output for f4?
can you please tell me
12 years ago
Hi, Sorry to all for editing the post. Hereafter i won't do that. Thank you
12 years ago

hi, i read that object references will store in stack memory. The Java system must know, while it is creating the program, the exact lifetime of all the items that are stored on the stack. i can't understand this. can you please explain it. what are the items will store in the stack?
12 years ago

The above program displays the following error. can't we use the input in the sub classes.why?
cannot find symbol
symbol: variable a
location: class javaapplication7.inheritance1

cannot find symbol
symbol: variable b
location: class javaapplication7.inheritance1
12 years ago

Its a servlet project. internet banking(online project).how to create web content folder?

I created 1 desktop application , i created jar file by clicking build button.(i used netbeans). after that jar file has been created in the specific path. if i double the jar file, it shows the following error

"A java exception has occurred"

can you please tell me how to resolve ? and also how to integrate?
12 years ago

Hi, I got 1 project.It contains class files,html file,gif file,java file. It doesn't have any jar file.how to integrate all these for executing the project?
12 years ago
Hi, I have created 1 login form
data source name-loginform
table name - loginforms
The table contains 2 fields - name and password. I have created 3 forms. First form name is "Login".In this form , I have placed 2 labels for user name and password, 1 textfield,1passwordfield, and 4 buttons for submit,clear,exit,login.After entering the values , if i click submit button then the values entered will be stored in database.If i click login button, it displays another form namely "LoginPage".
In this form , I have placed 2 labels for user name and password, 1 textfield,1passwordfield, and 2 buttons for submit and update.After entering the values , if i click submit button , it match both username and password , if both matches, it will show another form namely "WelcomePage".otherwise it will display "invalid username and password".
If i click update button, the text entered in passwordfield should be updated instead of old password.
I entered the following code to update the values.but it shows error

It shows the following error
Exception:java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]The name 'password' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted.

Can you please tell me how too resolve the error
Hi Dey, after clicking the build project button, it displays the following

Deleting: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build\built-jar.properties
Updating property file: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build\built-jar.properties
Warning: login.form modified in the future.
Warning: login.java modified in the future.
Compiling 1 source file to C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build\classes
Note: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\src\login.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Warning: modified in the future.
Copying 1 file to C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build
Nothing to copy.
Building jar: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\dist\com.Loginform.jar
To run this application from the command line without Ant, try:
java -jar "C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\dist\com.Loginform.jar"
BUILD SUCCESSFUL (total time: 0 seconds)
Thank you Dey

Before submitting this doubt in the forum, i gave as following
C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\sunset.jpg

But after that i found and gave
C:Documents and Settings:All Users:Documents:My Pictures:Sample Pictures:sunset.jpg
After giving the above, it doesn't show compile time error. But still the image didn't display in the title bar.

If i place the image in the d: drive and give as
It displays the correct output

But if i place the image in the c: and give as
It doesn't show the image in the title bar

can you please tell me how to resolve
12 years ago