If I define a method in JSP scriplet <%..%>, where will it
go after translation into a servlet?
Answer Posted / karthik
After translation of jsp code into servlet the scriplets
(<%...%> contents will be executed via the service methods.
suppose if we define the new method inside the scriplte tag
the container will raise the compilation error.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a sessionfactory? Is it a thread-safe object?
Describe, in general, how java's garbage collector works?
When a thread blocks on i/o?
Can we sent objects using Sockets?
why static class in java
what is the use of State Factories?
What are the purpose of introspection?
How many times may an objects finalize() method be invoked by the garbage collector?
Why use a datasource when you can directly specify a connection details?
What are local interfaces? Describe.
What are externizable interface?
what are the advantages of JTA over JTS?
Why are my checkboxes not being set from on to off?
What is message driven beam?
Which textcomponent method is used to set a textcomponent to the read-only state?