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 value does readline() return when it has reached the end of a file?
What is table mutation and how do you avoid it?
Java is fully object oriented languages or not?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
How is a java object message delivered to a non-java client?
What modifiers may be used with an inner class that is a member of an outer class?
How are the elements of a cardlayout organized?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is the purpose of the wait(), notify(), and notifyall() methods?
What are JTA/JTS and how they used by client?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
Why a client should be multithreading? Explain.
whats is mean by connectionpooling
What are the different types of exception?
What is the difference between the session.get() method and the session.load() method?