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 a hidden comment?
Explain the jsp life cycle?
What are the attributes on page directives?
What is scripting elements in jsp?
Explain static method?
What is taglibs?
What does .com stand for?
What is request scope in jsp?
What is client side technology?
Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?
When will container initialize multiple jsp/servlet objects?
Explain various implicit objects in expression language.
Can Static method be Override?
Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com
What are the different types of directives available in jsp?