What are the differences between get and load methods?
Answer / Nitin Dhiman
In JSP, the get and load methods have different purposes:
1. get(): This method is used to retrieve a variable's value that was previously set using the set() method.
2. load(): This method is called when the servlet container initializes a JSP page. It is used to perform any initialization tasks, such as loading data from a database.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of creating custom tags?
Is jsp platform dependent?
What is a tag file?
What is the <jsp:forward> standard action?
Mention the jstl core tags.
Why jsp and servlets are used?
How do you delete the session data?
Mention the scope values for <jsp.usebean> tag.
What is server context?
Explain the jsp implicit objects?
What is the <jsp:param> standard action?
What is difference between sendredirect and forward?