Can we write a class inside Jsp?

Answer Posted / hehehe

Yes, We can , But it will be an inner class for the generated Servlet class of the JSP.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of 'out' implicit object?

566


Can a constructor be used in place of init() method to initialize a servlet?

574


What is the use of implicit object named "application" in Application?

1327


What are the two kinds of comments in jsp and what's the difference between them ?

636


Can we override jsp service method?

582






What is jsp expression language and what are it’s benefits?

745


What is request scope in jsp?

603


What are the benefits of pagecontext implicit object?

862


Can we use the exception implicit object in any jsp page?

567


What is _jspservice method?

596


What are the ways to insert java code into jsp page?

650


Differentiate between pagecontext.include and jsp:include?

622


What is session scope?

593


Tell us about the jsp life cycle methods.

576


What is a output comment?

642