If I define a method in JSP scriplet <%..%>, where will it
go after translation into a servlet?
Answer Posted / prs01
It will give compilation error. In order to define a method
in JSP, it should be defined in the JSP declarations <%!..%
>, and it can be called in the JSP expression.
On translation, the method will be added outside all
methods in the servlet class.
Is This Answer Correct ? | 35 Yes | 1 No |
Post New Answer View All Answers
What is the relation between the infobus and rmi?
What must a class do to implement an interface?
What is a clone?
Java is fully object oriented languages or not?
how do you Handle Front End Application data against DB with example?
What state does a thread enter when it terminates its processing?
What does module-relative mean?
What is a modular application?
Explain what is orm?
Is there a guarantee of uniqueness for entity beans?
Why use POJO when I can use hashmap
What is difference between object state and behavior?
What is the difference between RMI and Corba?
Describe activation process?
Can we sent objects using Sockets?