Can we use methods in JSP? If so where the methods are
stored in servlet class file?
Answer Posted / manesh
Mandrita , There is a typo in ur answer.
Its should be <%! //the method%>. not
Regards,
Manesh A. K.
>Yes we can write java methods inside jsp files within
the "declarations" tag <!%//the method%>.
>
>This part of the code is compiled by the servlet engine
and
>inserted outside the _jspservice() method in the generated
servlet class
Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
How we can include the result of another page in jsp?
What are the lifecycle phases of a jsp?
What’s the difference between forward and sendredirect?
How to send data from one page to another in jsp?
What are the jsp lifecycle phases?
What is session object in jsp?
Which one is better jsp or servlet?
What is the use of jstl tags in jsp?
What is tld in jsp?
What is action tag in jsp?
How many jsp implicit objects are there?
What are the jsp tags?
What is jsp param?
Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page? : Citibank
What are the differences between get and load methods?