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
Why is string immutable in java?
wahts is mean by dynavalidatorform in struts/
Define the remote object implementation?
What is prototype?
what is the use of State Factories?
What is jboss?
Are enterprise beans allowed to use thread.sleep()?
Name the class that is used to bind the server object with RMI Registry?
What is mdb and what is the special feature of that?
Describe responsibilities of Activator?
What are JTA/JTS and how they used by client?
What are externizable interface?
What is the difference between the font and fontmetrics classes?
Difference between new operator and class.forname().newinstance()?
What are the types of scaling?