What are scriptlets?



What are scriptlets?..

Answer / Parasar Mahalik

"Scriptlets in Java refer to small pieces of Java code embedded within JSP (JavaServer Pages) files, typically used before the introduction of JSP Standard Tag Library (JSTL). They cause problems such as poor separation of concerns and lack of maintainability. It is recommended to avoid using scriptlets and instead use tag libraries or other modern approaches."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is java objectoutputstream?

1 Answers  


wHAT IS DEFAULT SPECIFIER IN JAVA wHAT IS DEFAULT CONSTRUCTOR IN JAVA wHAT IS DEFAULT METHOD IN JAVA

12 Answers   IBM,


Is null an object in java?

1 Answers  


When do you create an index?

0 Answers  


What is multiple inheritance? Is it supported by java?

1 Answers  


What are synchronized blocks in java?

1 Answers  


java is fullu object oriented or pure? why?

8 Answers  


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1 Answers  


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

1 Answers  


Differences between C and Java?

1 Answers   TCS,


How does the garbage collector works in java?

1 Answers   Cyient,


What is a lambda expression ? What's its use ?

1 Answers  


Categories