top of page

How is jsp executed

VISIT WEBSITE >>>>> http://gg.gg/y83ws?3120613 <<<<<<






Connect and share knowledge within a single location that is structured and easy to search. It does not actually work in a way, the server servlet container reads this file to know what your application's needs are what filters to create, servlets, configuration params etc.

Consider CGI for a second. The equivalent of this in Java is a Servlet. The JSP is a Servlet turned inside out. When "executing" a JSP, the server will in fact turn it inside out and transform it into a Servlet.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How are jsp pages executed,what's the principle in it? Ask Question. Asked 11 years, 7 months ago. Active 11 years, 7 months ago. Code Line Here we are using declaration tag for initializing a variable count to Code Line In the Scriptlet tags where we are taking two variables num1 and num2. Third variable num3 is taken which adds up as num1 and num2.

The output is num3. Code Line Here we are using expression tags where we are using an expression by multiplying two numbers i. The expression number is where we are multiplying two numbers num1 and num2 and adding that number with the third number. It is been ignored by the JSP container. Code Line 1: Here we are using directives like language, contentType and pageEncoding. Page encoding is standard charset. Code Line Here we are declaring variables num12 and num32 initializing with JSP - Lifecycle Advertisements.

Previous Page. Next Page. Previous Page Print Page. Save Close.


Recent Posts

See All

Comments


bottom of page