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
Is jsp technology extensible?
How many tags are provided by jstl?
What is declaration statement?
What are jsp elements?
What do you mean by isscriptingenabled attribute?
What are the elements of jsp?
What are the ways to insert java code into jsp page?
Which one is correct order of phases in jsp life cycle?
Why do we need servlets and jsp?
What is jsp and its architecture?
Is jsp server side scripting language?
What are the advantages of jstl?
What is a scriptlet in jsp and what is its syntax?
What is scriptlet, expression and declaration in jsp?
How do I use sendredirect?