Lead java applications developer interview questions shared by candidates
How do you pass variables between two JSP pages and how do you do it between a controller servlet and a JSP page?
The request attribute is good when the parameters are meant to be passed to one page. If you want to pass the parameter across several pages, then it is much easier to set the parameters in the session scope instead of request scope. However, you must remember to clear the objects from the session scope once you are done with them.
See Interview Questions for Similar Jobs
- Truck Driver
- Mechanical Engineer
- Registered Nurse
- Administrative Assistant
- Social Worker
- Sales Associate
- Dental Assistant