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 jstl?

487


What is the full form of jsp?

551


What is jsp and why it is used?

463


What is tag file in jsp?

519


Can jsp contain javascript?

490






How can I prevent the output of my jsp or servlet pages from being cached by the browser?

571


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

518


Explain pge Directives.

543


how to write the code of jsp program?

1949


What are the jsp lifecycle phases?

565


What are the types of directives in jsp?

508


List all tags that are provided in jstl?

497


What is difference between sendredirect and requestdispatcher?

493


What is directive jsp?

448


Explain implicit objects in jsp?

596