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

Differentiate between pagecontext.include and jsp:include?

691


How can I declare methods within my jsp page?

661


Explain jsp?

708


What is pagecontext?

696


What is pagescope in jsp?

652






What are directives in jsp?

692


What are scripting elements?

711


What will happen if iselignored attribute is set as false?

630


What are the jsp tag?

723


What is application in jsp?

609


What is the use of jstl tags in jsp?

709


What is the use of jsp and servlet?

649


What do you mean by jsp directives?

716


What is a jsp container?

647


Explain pge Directives.

696