Can we use methods in JSP? If so where the methods are
stored in servlet class file?
Answer Posted / madhu
YES We can Write the our own methods or java methods inside
the "JSP Declarations"
Syntax:<%! .................%>
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a declaration?
Differentiate between
What is difference between jsp and jstl?
What is context url?
Define jsp declaration?
Which one is better jsp or servlet?
How we can include the result of another page in jsp?
What is jsp tag?
How to delete a cookie in a jsp?
How to pass information from jsp to included jsp?
List out some advantages of using jsp.
A jsp page, include.jsp, has a instance variable "int a", now this page is statically included in another jsp page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client?
How we can use javascript with jsp pages?
Is there a way I can set the inactivity lease period on a per-session basis?
How can we use beans in jsp?