1,076,272 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Posts by amrita111

I have created my project using jsp,servlets.I have also used meta tag for deleting browser's cache.
Once logout,the user should not be able to perform any function using back button.I dont want to disable back button.The user should be on logout page even if he presses back button.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

I have created two folders with name
1)JSP containing jsp file(for login)
2)JS containing javascript file(for login validation)

I have linked javascript file with jsp file int he following way.
<script type="text/javascript" src="../JS/loginValidate.js">

How can I access parameters of login page(jsp file in JSP folder) in javascript file?

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

What is the difference between in and find_in_set()?When to use them??

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

This is a part of my code.

String name=sc.nextLine();
int no=sc.nextInt();

The problem is if I write sc.next() instead of sc.nextLine() then i can pass only "james" not "james watson".
when i write sc.nextLine() then it takes integer not string.Why is it so?
Please Help!!!

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

thank you!!

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1
amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Solved: Constructor in Java

Why cant we use static and final keyword for constructor?

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Why do we have DIV in mysql when we have /.What is the use of div??

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

I have created a simple java file on desktop..When I am trying to execute it using cmd(with all variables set) then it is getting compiled but during the time of "java Filename" shows "main not found".This file is getting executed in eclipse and netbeans..What could be the reason for this???

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

There should be void main not Void Main.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Chinmayi,we are not suppose to do any homework.Try yourself..If there is any error.Post it here and then we can help you.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Give some more information.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

You should end every statement of javascript with semicolon.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

A menu will be provided to the user and based on the choosen option operations will be done.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Your loop is interating only once.If you write return statement after while loop in your program then it will be an infinite loop.Better make the function "parameter" recursive.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Mark this thread as solved

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1
amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

When I assign the value 2 to Re_Use then your while loop doesnot get executed.You should put switch before your second input in a while loop.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Get the answer yourself..Let me tell you something about this.Whenever there is a comparison between unsigned integer and signed integer then signed integer gets converted into unsigned integer.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1

Hello Somjit, when you use Echo e1 = new Echo(); Echo e2 = new Echo();
then both the object has separate variable "count" but when you use Echo e2 = e1;
then both of them share "count".Operations on count are performed accordingly and thus you get different results.

amrita111
Junior Poster in Training
59 posts since Aug 2010
Reputation Points: 14
Solved Threads: 6
Skill Endorsements: 1
 
© 2013 DaniWeb® LLC
Page rendered in 0.1162 seconds using 2.69MB