I am studying JSP. I have a doubt. When we use the Expressions in JSP, then why do we need out implicit object in JSP?
Can anybody explain on this. Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The implicit objects in the JSP context (such as
session,requestandresponse) are available in case you need to perform logic in your JSP using these variables. You could see if the user has a particular session variable, or get a parameter from their request or the server’s response.However, it’s usually not necessary — and if you’re performing that type of logic in the JSP, it’s a sign that your View is doing something that the Controller should have done.