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

What is context url?

0 Answers  


Can init method be overridden?

1 Answers   IBM,


Give the use of exception object.

0 Answers  


What is contextpath in jsp?

0 Answers  


Which tag is used for error handling in jsp pages?

0 Answers  






How can I prevent direct access to a jsp page from a browser?

0 Answers  


How to run java program in jsp page?

0 Answers  


What is the advantage of using getProperty action, as compared to the accessor method?

0 Answers  


Why jsp is better over static html also explain lifecycle of a jsp?

0 Answers  


What are the implicit objects in jsp?

0 Answers  


How we can disable session in jsp?

0 Answers  


Can jsp run without server?

0 Answers  


Categories