What is declaration statement?



What is declaration statement?..

Answer / Vijay Pal

In JSP, a declaration statement is used to define variables and other components at the beginning of a JSP page. This can include declaring scriptlet variables, declaration of Java classes, and setting page directive attributes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

What is server context?

1 Answers  


What is the major difference between servletcontext and pagecontext?

1 Answers  


Explain the advantages of jsp?

1 Answers  


Can we implement an interface in a jsp?

1 Answers  


How to include static files in a JSP page?

1 Answers  


What are the two ways to include the result of another page?

1 Answers  


What is the difference between include and jsp directive: include action?

1 Answers  


How are custom tags in jsp created?

1 Answers  


What is jsp scriptlet?

1 Answers  


Why do we need custom tags?

1 Answers  


hi friends...i created sessions in my login page i can able to create a session but after loging out again i can able access the pages by its addresses. i think u may got problem if possible post me small example for login with sessions including database

1 Answers  


What is a declaration?

1 Answers  


Categories