:: 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 (1728)
 Advanced Java interview questions  Advanced Java Interview Questions (332)
 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
what is filters and its use? Virtusa 2
what is the logic inside any default constuctor?   2
write a program to create an arraylist and listeterator.and value should be enter through keyboard. Axcend 1
system.out.println(1 + 3);   8
JVM responsibility? TCS 6
what is use of marker interface? give me good example?   2
how to connect one jsp page to another jsp page???? Symphony 6
What are event-delegation model and event-inheritance model? Which is best?   1
Does any tag exists in HTML to upload and download files ?   3
What is meant by Session? Explain something about HTTP Session Class?   1
What is deadlock and how to avoid this?   2
How to transfer data from an Applet to Servlet ?   1
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.   ::