top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are Declarations and Expressions in JSP?

+1 vote
239 views
What are Declarations and Expressions in JSP?
posted Jan 21, 2015 by Shyam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Declarations

It is similar to variable declarations in Java. Declarations are used to declare variables for subsequent use in expressions or scriptlets. To add a declaration, you must use the sequences to enclose your declarations.

Expressions:

A JSP expression is used to insert the value of a scripting language expression, converted into a string, into the data stream returned to the client, by the web server.

Expressions are defined between <% = and %> tags.

answer Jan 22, 2015 by Karthick.c
Similar Questions
+3 votes

I am trying to debug a javascript file, which is used in a .jsp file. When I debug the using F12 in IE10 I did not find that particular file in the debugger tool.

Can anybody please tell, why that particular file is not showing even it is present in project folder location?

...