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
How to include a jsp file in another jsp file?
What are the primary differences between the jsp custom tags and java beans?
What is custom tag library?
List all tags that are provided in jstl?
Is the session object always created on the jsp page, is it possible to disable its creation?
What is the major difference between servletcontext and pagecontext?
What is el?
What is session setattribute?
What is scriptlet and what is expression?
How many tags are provided in jstl?
Tell us about the stages (phases) of the jsp life cycle.
what are the tools used in your project , How to ask the answer this question
Why jsp is better over static html also explain lifecycle of a jsp?
hpcl information systems officer 2008 Question Papers or any last previous questions papers thanks in advance shyamprasad71@gmail.com shyamprasad71@gmail.com
What are the implicit, internal el jsp objects and their differences from jsp objects?