Prepare for your Next Interview
This is a discussion on which technique is perfect? within the JSP forums, part of the Web Development category; I want to move data from one page to another page. I have two ways.. 1. Using session object 2. Using hidden form field Tell me which one is more ...
|
|||
|
which technique is perfect?
I want to move data from one page to another page. I have two ways..
1. Using session object 2. Using hidden form field Tell me which one is more useful and best ? ------------------ suresh Last edited by psuresh1982 : 02-03-2007 at 08:46 AM. |
| Sponsored Links |
|
|||
|
Re: which technique is perfect?
there are four (and not two) techniques
1)hidden form 2)cookies 3)httpsession 4)urlrewriting best is to use httpsession. since hiddenform increases the complexity of code. cookies are not secure and can b disabled by client so go with sessions
__________________
:) NEVER SAY DIE. |
|
|||
|
Re: which technique is perfect?
To share the data in jsp from one page to another page,you can use any two technique from below-
(1) request object. (2) session object. both object have setAttribute(String name,Object value) and an Object getAttribute(String name) method. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Faster technique for Manual Software testing | JobHelper | Testing Issues | 2 | 02-12-2007 06:53 AM |
| Finding the Perfect Career Opportunity | admin | Career Advice | 0 | 06-10-2006 05:45 PM |