Programming Tutorials

What is JSP Scriptlet?

By: Karthik in Interview Tutorials on 2012-06-16  

Answer: JSP Scriptlet is jsp tag which is used to enclose java code in the JSP pages. Scriptlets begins with <% tag and ends with %> tag. Java code written inside scriptlet executes every time the JSP is invoked.


        //java codes 
         String userName=null; 

Add Comment

* Required information


No comments yet. Be the first!

Most Viewed Articles (in Interview )

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

Question: What is an Expression tag in JSP?

Getting started with Interview

Interview Question: What is Struts Validator Framework?

Interview Question: Do you have to credit Struts on your own website?

Interview Question: What is the difference between EAR, JAR and WAR file?

How to define an Interface?

Is Iterator a Class or Interface? What is its use?

Interview Question: What is Deployment descriptor?

What is Collection API?

Interview Question: What is Remote client view?

What do you understand by Synchronization?

What are types of J2EE clients?

Why J2EE is suitable for the development of distributed multi-tiered enterprise applications?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

Latest Articles (in Interview)