How many ways we can pass the variable through the navigation between the pages?

Ads
 

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?

View Answers

November 15, 2010 at 6:06 PM

Hi everyone,

At least 6 ways:

  1. Put the variable into session in the first page, and get it back from session in the next page.
  2. Put the variable into cookie in the first page, and get it back from the cookie in the next page.
  3. Put the variable into a hidden form field, and get it back from the form in the next page.
  4. Using post
  5. Using get
  6. Using request

Thanks

Ads









Related Tutorials/Questions & Answers:
how many max. arguments we pass to the any function ? how many max. arguments we pass to the any function ?
how many max. arguments we pass to the any function ?
Advertisements
how we can create website through java
How many cookie object we can store in a session? is there any limit?
how many ways are there to invoke a servlet object?
How to pass javascript variable in Scriplet of JSP?
how many ways to load the class in java
how to value of one variable pass in other variable in revetse order
pass a variable(friends name) through a hyperlink in to another jsp.
pass a variable(friends name) through a hyperlink in to another jsp.
How to pass variable from one class to another in java
Can we declare a static variable inside a method?
you pass a variable by value.
How many qusetions can you ask?
How I can cast a variable in Scala?
How I can cast a variable in Scala?
How can i pass the valus from a JSP to the action class???
Can I pass a
How to pass parameter through drop down list using session management in jsp??
How can we solve this puzzle using java ?
how to pass variable from simple java main class(not servlet) to the jsp page?
how can we store the encrypted passwaord in swings?
how can i draw line between two panel contaning circle and line between their center?
How can we get hibernate statistics?
How can we save a data list in jsf?
what is cloud computing? any how we can implement?
how can i send a mail to a particular user from a many user dropdown list in jsp
5 Ways Mobile can Impact Marketing
How to create variable in TensorFlow?
How to declare String array in Java?
How can we implement Pop-up in JQuery without Plugin?

Ads