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

Can a jsp page process html form data?

572


Explain JSP Output comments?

561


What are the advantages of jsp?

524


What is the use of requestdispatcher?

522


Explain JSP directives.

586






What do you mean by jsp directives?

541


What are the events in jsp page?

484


What is the scope of response object?

630


What is the difference between "JTable" and "JTGrid"? can they be used interchangeably?

1794


Which package does a jsp api consist of?

489


What does jstl mean?

505


What is jsp expression?

511


Which tag should be used to pass information from jsp to include jsp?

516


Can you call jsp from servlet?

516


Why is _jspservice() method starting with an '_' while other life cycle methods do not?

513