Home Answers Viewqa Servlet-Interview-Questions what are the different ways we can maintain state between request

 
 


Nagendran
what are the different ways we can maintain state between request
1 Answer(s)      a year ago
Posted in : Servlet Interview Questions

what are the different ways we can maintain state between request

View Answers

May 7, 2012 at 3:48 PM


Different ways of maintaining state?s between stateless requests:

1)URL rewriting

2)Cookies

3)Hidden fields

4)Sessions









Related Pages:
Help to maintain state of checkbox
Help to maintain state of checkbox  hi, all I want to maintain the state of checkboxes across pages. What happens is when i check one checkbox and then go to say 2nd page then check one checkbox there and when i return
State in flex
State in flex  Hi.... just tell me about What is state? what... apearing at an instance i.e. only one state can be shown at a time while viewStack are collection of different view containers which can be shown at a time
maintain previoous state on a Jsp
maintain previoous state on a Jsp  i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from... the detail of the same id, previous state of colors can be show in a jsp which i have
HttpSessionAttributeListener
;  As we know that the Session is used to maintain the session between request. Session object is responsible to hold the conversational state... been removed and when it is replaced by another attribute. We can also say
How many ways we can pass the variable through the navigation between the pages?
How many ways we can pass the variable through the navigation between the pages?  How many ways we can pass the variable through the navigation between the pages
HttpSessionAttributeListener Example
;    As we know that the Session is used to maintain the session between request. Session object is responsible to hold... session. In the above methods you can see that we have used
different between ntfs and fat
different between ntfs and fat   hello, what is the different between ntfs and fat ???   hello, The major difference between FAT and NTFS... and is the newest. If a NTFS partition becomes corrupt, it can sometimes be recovered
Session maintain
Session maintain   hi, all I want to maintain the state of checkboxes across pages. What happens is when i check one checkbox and then go to say 2nd page then check one checkbox there and when i return to previous page
Session maintain
Session maintain   hi, all I want to maintain the state of checkboxes across pages. What happens is when i check one checkbox and then go to say 2nd page then check one checkbox there and when i return to previous page
Session maintain
Session maintain   hi, all I want to maintain the state of checkboxes across pages. What happens is when i check one checkbox and then go to say 2nd page then check one checkbox there and when i return to previous page
request object value
. In this application we have a login page. Thr are different text field. when we login in this page, we have to fill all information. I want to maintain all...,application object are not supported by this envirement. then how can i maintain all
servlets
what are the different ways we can maintain state between request  what are the different ways we can maintain state between request   Different ways of maintaining state?s between stateless requests: 1)URL rewriting
Manage end-user state and understand performance tradeoffs of using HTTP sessions
in memory, it can obtain the required session state by accessing... Manage end-user state and understand...; Manage end-user state and understand performance tradeoffs of using HTTP
JAVA what is different between static block and public static void main(String a[]) method
JAVA what is different between static block and public static void main(String a[]) method  what is different between static block and public static void main(String a[]) method,we execute method without main method(by static
How many ways we can give the output to a browser?
How many ways we can give the output to a browser?  How many ways we can give the output to a browser
Different between getRequestParameterMap() and getRequestParameterValuesMap()
Different between getRequestParameterMap() and getRequestParameterValuesMap()  What is the different between getRequestParameterMap() and getRequestParameterValuesMap
How many ways can we get the value of current session id?
How many ways can we get the value of current session id?  How many ways can we get the value of current session id
What is difference between Path and Classpath?
What is difference between Path and Classpath?   hi What is difference between Path and Classpath? thanks   Hi, The Path & Classpath are used for operating system level environment variales. We mostly use Path
difference between session scope and request scope
difference between session scope and request scope   What is the difference between session scope and request scope when saving formbean
Session tracking basics
to maintain state about the series of requests from users across some period of time...; Session Tracking can be done in three ways:  1.Hidden Form Fields 2.URL... in place where we don't want to use cookies. This is used to maintain the session
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
Java thread state
Java thread state  What is the difference between yielding and sleeping
What is the difference between GET and POST method?
What is the difference between GET and POST method?  In PHP, both GET... there is a lots of difference between the both. Can anyone please explain it in detail with the case where we can use GET and POST method in PHP.   
What are different normalization forms?
What are different normalization forms?  What are different normalization forms?   Hi, 1NF: Eliminate Repeating Groups- Make a separate...-Codd Normal Form- If there are non-trivial dependencies between candidate key
What is OLAP?
. The user can analyze the data in all different ways such as  budgeting, planning... the data from an OLAP database in large or specific volume. We can also say... What is OLAP?      
What is the difference between EJB 3.0 and JPA - Framework
What is the difference between EJB 3.0 and JPA   What is the difference between EJB 3.0 and JPA. How can they work together. Does EJB 3.0 need... which can be used for creating a mapping between plain java bean objects (POJO
what is viewresolver
of the Spring framework. So we can say that Sturts can be seen as the subset... between view names and real views.View state doesn't change during the running...what is viewresolver  what is viewresolver?   Hi
what is web .config method
servlet and how it sends to that response to correct user ? After we request... Servlets Questions 1)What is web.xml? 2)what is the filter? 3)How to we create... an Object, We can set an attribute getParameter => Returns a String
25 Ways To Make Money In Your Spare Time
one generally we forget the old set and it remained a dust in drawer. You can... to earn extra money and hence these 25 ways to make money in your spare time could... for you can pay a lot as it can be impress much to those who have passion
Know the Different Types of E-Commerce
Know the Different Types of E-Commerce There are different types of e-commerce and we need to know what e-commerce is and how different it is from e... can send across different kinds of files and information which can
Ways to make money
ways you can make money. There are some ways to make money through different... you about the ways through which you can make money through offline business... of money through online users. Here are the different ways to earn through
Session Related Interview Questions
and it does not maintain the client state. But there exist a mechanism called "Session Tracking" which helps the servers to maintain the state to track...: In HttpServlet you can use Session Tracking to track the user state. Session
ServletFileUpload request getInputStream - JSP-Servlet
Library, now let?fs see how we can use it to upload files. 10:03:29,406 INFO...ServletFileUpload request getInputStream  Hi All, I want multiple files to upload to Web(or)FTP Server. So, now what i have been done is i
what is cloud computing? any how we can implement?
what is cloud computing? any how we can implement?  what is cloud computing? any how we can implement
What is difference between TRUNCATE & DELETE
What is difference between TRUNCATE & DELETE   What is difference between TRUNCATE & DELETE?   Hi, The DELETE command is used to remove rows from a table. A WHERE clause can be used to only remove some rows
Different tables present in MySQL
Different tables present in MySQL  What are the different tables present in MySQL? Which type of table is generated when we are creating a table...; Hi friends, Total 5 types of tables we can create 1. MyISAM 2. Heap 3
request object - JSP-Servlet
request object  What is Difference Between request.getHeader("x-forwarded-for") and request.getServerName() pls give me reply as soon as possible
what is diffrence between the spring and ejb which is better for small application - Spring
what is diffrence between the spring and ejb which is better for small application  what is diffrence between the spring and ejb which is better for small application. and why do we need to use sping or ejb for web
What is difference between the java and javascript?
What is difference between the java and javascript?  What is the difference beteen the java and javascript?   Hello Friend, Difference: 1... are all in text. 4) Java can only be used as a back-end language within a web
Request Object In JSP
the HTML form data we use the request object and it's several methods like... of the request object is to obtain parameter or query string values. you can... Request Object In JSP     
Java Servlet : Http Request Headers
a request via GET or POST method usually. It can also send a number of headers... browser can handle. It can sends different content to different clients...Java Servlet : Http Request Headers In this tutorial, you will learn how
How can we know the number of days between two given dates using PHP?
How can we know the number of days between two given dates using PHP?  How can we know the number of days between two given dates using PHP
What is the maximum size of a file that can be uploaded using PHP and how can we change this?
What is the maximum size of a file that can be uploaded using PHP and how can we change this?  What is the maximum size of a file that can be uploaded using PHP and how can we change
Request for Discussion forum in jsp
Request for Discussion forum in jsp  Hi i want discussion forum to my project. Can anyone tell me, what are all requirements needed to create it. THanks in advance

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.