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 is an api with example?
What is expression language in jsp?
Can we define a class inside a jsp page?
How is jsp used in the mvc model?
What is the default value of session attribute in jsp?
What do you mean by custom tag in jsp?
What is the purpose of
What is the difference between a scrollbar and a scrollpane in jsp?
What is scripting elements in jsp?
What is difference between jspwriter and servlet printwriter?
How clear chache and buffer of opera browser.
What is jstl core tags?
Explain translation phase.
What are the jsp standard actions?
How many types of jsp tags are there?