:: 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
Write a program to create a binary Tree ?   2
What is Yield() method when we r using this ? tell exactly   2
What is the difference between Abstract Class and Interface AMDOC 8
how to transactions(Bank transactions) in business process in ejb? Photon 1
what is difference between perfom() & excute() ? IBM 2
When finally clause is executed?   3
how to use finalize()Method to resources TCS 4
What is run time polymorphism? Elementus-Technologies 6
Hi friends i want display Triangle shap stars(*) please can tell me any one java code logic? * *** ***** ******* Like this NIIT 2
Explain role of constructor in a java application?   5
What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized. iFlex 6
What are the OOPS concepts in Java ? Satyam 4
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.   ::