If I define a method in JSP scriplet <%..%>, where will it
go after translation into a servlet?
Answer Posted / prs01
@Karthikeyan ...In Java, you cannot have a method inside
another method (service). You may try the same, in JSP
itself you will get compile time error when defining a
method in scriplets.
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
Explain ioc concept?
What’s jboss cache in short?
What is a modular application?
What is permgen or permanent generation?
What is the purpose of the wait() method?
How many times may an objects finalize() method be invoked by the garbage collector?
What is the purpose of the notify() method?
Describe responsibilities of Activator?
Explain about RMI Architecture?
Why does the option tag render selected=selected instead of just selected?
What is meant by method chaining?
what is the use of State Factories?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is difference between object state and behavior?
To what value is a variable of the string type automatically initialized?