Hi, everyone,
I want to ask a question about the web programming. I learn the servlet and the JSP before, but I don't know what is the JSTL and the different between the JSP and the JSTL. Can anyone help me? Thank you.
Hi, everyone,
I want to ask a question about the web programming. I learn the servlet and the JSP before, but I don't know what is the JSTL and the different between the JSP and the JSTL. Can anyone help me? Thank you.
Check out
Btw these come up by googling "jstl" as the first and third hit, respectively.
JSP is a technology similar to ASP that let you embed Java code inside HTML pages. This code can be inserted by means of <% %> blocks or by means of JSP tags. The last option is generally preferred over the first one, since tags adapt better to own tag representation form of HTML, so your pages will look more readable. JSP lets you even define your own tags (you must write the code that actually implement the logic of those tags in Java). JSTL is just a standard tag library provided by Sun (well, now Oracle) to carry out common tasks (such as looping, formatting, etc.).