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
what is meant by JRMP?
Define prototype?
Explain about RMI Architecture?
Name three component subclasses that support painting?
Explain the different types of memory used by jvm?
Which javutil classes and interfaces support event handling?
What are externizable interface?
Can constructors be synchronized in java?
Why are some of the class and element names counter-intuitive?
Can you give me a simple example of using the requiredif validator rule?
Name three subclasses of the component class?
What does module-relative mean?
What are the call back methods in entity bean?
Difference between new operator and class.forname().newinstance()?
Explain the advantages and disadvantages of detached objects.