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
Why do we need servlets and jsp?
What are the different scope values for the jsp objects?
How can we avoid direct access of jsp pages from client browser?
What is called jsp directive?
What are jsp and servlets?
How to include a jsp file in another jsp file?
Can a jsp page instantiate a serialized bean?
What is out println in jsp?
What is scriptlet in jsp?
Can we define a class in a jsp page?
What are jsp implicit objects?
What language is jsp?
How is jsp used in the mvc model?
What are the events in jsp page?
What is a page directive?