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 jsp and how it works?

0 Answers  


Explain some jsp life-cycle methods that can be overridden.

0 Answers  


How to find the hidden answers present in an online exam?

3 Answers  


How do I use comments within a jsp page?

0 Answers  


When i am useing useBean tag of JSP in weblogic server It show compiletion error..Like bad class file: C:\bea\user_projects\domains\Mahesh\applications\UseBean\WEB-INF\classes\user\UserData.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. user.UserData user1 = null; //[ /SaveName.jsp; Line: 4]

0 Answers  






Can you call jsp from servlet?

0 Answers  


How to include static files in a jsp?

0 Answers  


What is jsp scriptlet?

0 Answers  


What is scriptlet tag?

0 Answers  


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

0 Answers  


How do I run a jsp file in linux?

0 Answers  


What are jsp implicit objects?

0 Answers  


Categories