GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 136 of 184    Print  
I have requirement os online shop where users can add items of different types to cart and remove them. When add/remove performed I need to add them to session as attribute/coockie. How do I update session attribute when I click a HTML Button Control

  
Total Answers and Comments: 1 Last Update: August 26, 2006     Asked by: pavanjoshi 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 25, 2006 23:01:27   #1  
smar        

RE: I have requirement os online shop where users can ...
Dont User Cookie/Session Create temp table in database dynamically according to User Id. and save the items to database. and u can add more or delete items. and even if any distrubance in system or website the items added to particular useid will no lose. and delete temp table while and adding into final request and trasfrom to orginal table. for this process you can use triggers to translate data from one table to another or by some logic you can use same table (temp) until the product is devivered. Thus their are many ways to view a cart process.
 
Is this answer useful? Yes | No

 Related Questions

Skill/Topic: Programming ConstructsA) None of the above B)  C)    
Latest Answer : isErrorpage attribute ...

The ________________________ when added to the user session tells us that the session timed out. 
Skill/Topic: Programming ConstructsA) SessionTotalTimeOutIndicator B) SessionTotalTimedoutIndicator C) SessionTimeoutIndicator D) SessionTimedoutIndicator  

Skill/Topic: Programming ConstructsA) TrueB) False 
Latest Answer : The Bean class which we write has to extend Serializable Interface to make that bean Serialized. The bean itself won't become Serialized automatically.Raghu.  ...

We can restrict the calling of the errorPage in the JSP by setting the value true for the ______ param in the ErrorPage attribute of the Page Directory
Skill/Topic: Programming ConstructsA) isErrorpage 

The wrapper function like <%! String blanknull(String s) { return (s == null) ? "" : s; } %> then use it inside your JSP form, like " > prevents the word__________ from apperaring in an HTML page.
Skill/Topic: Programming ConstructsA) Null 

Which of the following statements is true regarding the access to the information provided by the ServletContext
Skill/Topic: Programming ConstructsA) Information such as the names of the parameters passed in by the client, the protocol (scheme) being used by the client, B) The names of the remote host that 

JSP is the Java platform technology for building applications containing dynamic web contents such as (Multiple choice) 
Skill/Topic: FundamentalsA) XHTML B) XML C) DHTML D) HTML  

All the ___________ data is kept at the application server ___________ data is kept at the web server
Skill/Topic: FundamentalsA) dynamic, static  B) static, dynamic C) HTML, Servlet D) Servlet, HTML  

In the properties files _________ defines global Servlet settings and list of servlets in the system.
Skill/Topic: FundamentalsA) Servlet.properties B) Page.properties C) Session.properties D) None of the above  

Which of the following are the implicit objects in JSP 1. Application, out 2. config, exception 3. page, pageContext 4. request, response, session
Skill/Topic: FundamentalsA) 1, 2  B) 2, 3 C) 2, 3, 4 D) 1, 2, 3, 4  


 Sponsored Links

 
Related Articles

High Level Data Link Control (HDLC)

High Level Data Link Control HDLC The High Level Data Link Control protocol was developed by the International Organization for Standardization ISO It is used for switched and non switched networks and is a bit oriented architecture The High Level Data Link Control has been accepted and used widel
 

Synchronous Data Link Control (SDLC)

Synchronous Data Link Control SDLC The SDLC or the Synchronous Data Link Control was first developed by IBM It is basically a linked layer protocol which can be used with systems network architecture or the SNA environment In this system all the functions in a network can be defined and slotted into
 

jQuery - Sorting Other Types of Data

Learning jQuery Sorting Other Types of Data Our sort routine should be able to handle not just the Title and Author columns but the Publish Dates and Price as well Since we streamlined our comparator function it can handle all kinds of data but the computed keys will need to be adjusted for other da
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

EDI Document Types

EDI Document Types EDI documents come in various forms each of which can appear differently depending on the company&rsquo; s internal computer system Also while each standard has code specificity each order may look very different a clothes company will send details of color and sizes while a f
 

Online Virtual Business Network

How to begin an Online Virtual Business Network What is Virtual Business Network Business and commerce right from the ancient days depended a lot on the physical representation of the business and the physical identity of the customers and other collaborators Most of the business dealings were done
 

Listening Skills - Types of Bad Listeners

Types of Bad Listeners What are the main types of bad listeners You might find in your work environment that some individuals are simply not very good at listening This can create a myriad of problems and make the performance of the most mundane day to day tasks nearly impossible to accomplish mosgo
 

ERP Operation and Control

ERP Operation and Control The selection of the most suitable management system is it a difficult decision to make but once it is decided the next step is the operation and maintenance of ERP It is necessary to know well all the capacities and abilities in order to exploit the system to its fullest e
 

ERP Systems as Quality Control Support

ERP Systems as Quality Control Support For the past few years ERP systems have became one of the most powerful tools for quality control management But ERP is just an informatics system that provides support to the integrated business management mosgoogle center Goals of the Quality Control Module i
 

C++ Function Passing Types

C Function Passing Types In this C tutorial you will learn about function passing types two types of arguments passing in functions passed by value&nbsp; and&nbsp; passed by reference are discussed here mosgoogle center The arguments passed to a function can be performed in two ways Passed
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape