:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Java Related >> Java J2EE >> Core Java


 Core Java interview questions  Core Java Interview Questions (1722)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (147)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
I have one Shopping cart application, i that i have 
selected some items, while clicking submit button by 
mistake i have clicked twice or trice, that time items are 
selected twice or trice. Actually i want only one copy of 
items but its selected twice or trice. So how can we avoid 
this problem?
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
# 1
If this question in core (jave Collection): if you are
using list,it will take the duplicate values. so pass
through this list into set it will remove the duplicate

if this question in J2EE servlets: use post method, it it
is not idempotent. once you add item to cart, it will give
the acknowledge before changing in server.
Is This Answer Correct ?    10 Yes 2 No
# 2
Using token mechanism in struts we can duplicate requests in
web applications.
Is This Answer Correct ?    2 Yes 2 No

Other Core Java Interview Questions
  Question Asked @ Answers
wht is mean by dirty read?   1
Why const and goto are reserved keyword in java?   1
What is the difference(or similarity if there are some) between object and a variable? ME 4
What is lazy activation? CMC 2
What is the use of ?this??   4
Explain the difference between getAppletInfo and getParameterInfo?   1
why we cannot declare static variable inside a static method   4
any other way to print the text without using System.out.println() in java? Ibm 4
What are concepts of OOPS and how are they implemented in Java? KPIT 2
There are 2 methods in a class. Both have the same method signature except for return types. Is this overloading or overriding or what is it? KPIT 9
what difference between throw and throws in exception handling.   5
Howmany number of objects we can store in an ArrayList. Is there any limit? TCS 6
For more Core Java Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::