Can we write a class inside Jsp?



Can we write a class inside Jsp?..

Answer / 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

More JSP Interview Questions

Are application, pageContext and object of ServletContext same or not?

2 Answers  


What is server context?

0 Answers  


What is contextpath in jsp?

0 Answers  


How do I use sendredirect?

0 Answers  


What is <jsp:usebean> in jsp?

0 Answers  






What are different implicit objects of jsp?

0 Answers  


How to deactivate el usage on jsp?

0 Answers  


A jsp page, include.jsp, has a instance variable "int a", now this page is statically included in another jsp page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client?

0 Answers  


What happens when a page is statically included in another jsp page?

0 Answers  


Plz any body tell me why use jsp over servlet.what is the benefit of jsp over servlet?

4 Answers   Future Generali, HCL,


What are stored procedures? How is it useful?

0 Answers  


How can my application get to know when a httpsession is removed?

0 Answers  


Categories