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

Explain the difference between include directive and include action in jsp?

0 Answers  


What is the use of Application Object and Session Object in JSP?

4 Answers   HCL, Symphony,


What is jsp and its uses?

0 Answers  


How do you delete a cookie within a jsp?

0 Answers  


What is JTGrid?

0 Answers  






mention the three important tags used in the development of jsp bean.

0 Answers  


Q : In session created by server with client(browser) How can server find that request coming is belong to new session OR belong to session that is timeout.

4 Answers   HCL,


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  


What is scriptlet, expression and declaration in jsp?

0 Answers  


How many tags are there in jsp?

0 Answers  


What is session getattribute in jsp?

0 Answers  


What is jstl used for?

0 Answers  


Categories