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 prototype?
What is the difference between the font and fontmetrics classes?
What is a class loader? What are the different class loaders used by jvm?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
Why do threads block on i/o?
What value does read() return when it has reached the end of a file?
When a thread blocks on i/o, what state does it enter?
What is the purpose of the wait() method?
What is the difference between RMI and Corba?
If your ui seems to freeze periodically, what might be a likely reason?
What restrictions are placed on the location of a package statement within a source code file?
Explain ioc concept?
Which javutil classes and interfaces support event handling?
What is permgen or permanent generation?
What state does a thread enter when it terminates its processing?