If I define a method in JSP scriplet <%..%>, where will it
go after translation into a servlet?
Answer Posted / prs01
It will give compilation error. In order to define a method
in JSP, it should be defined in the JSP declarations <%!..%
>, and it can be called in the JSP expression.
On translation, the method will be added outside all
methods in the servlet class.
| Is This Answer Correct ? | 35 Yes | 1 No |
Post New Answer View All Answers
What is a class loader? What are the different class loaders used by jvm?
Why won’t the jvm terminate when I close all the application windows?
what are the activation groupworks?
Can I run seam with jdk 1.4 and earlier?
Explain what is orm?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
What class is used to create Server side object ?
Is there a guarantee of uniqueness for entity beans?
Where can I find seam examples and documentation?
What are the sequence of steps to write pub or sub model kind of application?
Is the infobus client side only?
Why is actionform a base class rather than an interface?
Why use POJO when I can use hashmap
How is a java object message delivered to a non-java client?
Can I run seam outside of jboss as?