Can we use methods in JSP? If so where the methods are
stored in servlet class file?
Answer Posted / mandrita sinha choudhuri
Yes we can write java methods inside jsp files within
the "declarations" tag <!%//the method%>.
This part of the code is compiled by the servlet engine and
inserted outside the _jspservice() method in the generated
servlet class.
| Is This Answer Correct ? | 38 Yes | 11 No |
Post New Answer View All Answers
What are the different types of jstl tags?
What happens when a page is statically included in another jsp page?
What is el in jsp?
Differentiate between
What is jsp and its uses?
How does a jsp work?
How does a jsp engine work?
What is the difference between java servlet and jsp?
What is the difference between hide comment and output comment?
What do you know about pagecontext and what are the advantages of using it?
How can information from one JSP be passed to another JSP?
How to include a jsp file in another jsp file?
Why are jsp pages preferred for creating web-based client program?
How does error handling occur with jstl?
How do you delete the session data?