Can we use methods in JSP? If so where the methods are
stored in servlet class file?

Answer Posted / madhu

YES We can Write the our own methods or java methods inside
the "JSP Declarations"
Syntax:<%! .................%>

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between jsp and jstl?

708


How can you include the results of another page?

714


List down the major differences between the jsp custom tags and java beans.

654


What do you mean by jsp directives?

752


What is the difference between a jspwriter and a servlet printwriter?

712


Mention the scope values for tag.

728


What is scripting elements in jsp?

706


Can we use javascript with jsp pages?

727


When will container initialize multiple jsp/servlet objects?

748


How are cookies set in jsp?

758


Is jsp technology extensible?

855


What are the advantages and disadvantages of thread-safe jsp page?

753


How to forward a request to another source?

761


Where do I create jsp in eclipse?

699


How do I view a jsp file?

681