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 Stream Tokenizer?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is jboss?
What do you mean by Socket Programming?
What value does readline() return when it has reached the end of a file?
What modifiers may be used with an inner class that is a member of an outer class?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
How a component can be placed on Windows?
Why is actionform a base class rather than an interface?
Which textcomponent method is used to set a textcomponent to the read-only state?
What is the relationship between an event-listener interface and an event-adapter class?
What class is used to create Server side object ?
Explain how will the struts know which action class to call when you submit a form?
How substring() method of string class create memory leaks?