I'm quite confused about some terms, I know Java for writting some "usual executable" programs. But I found that you can do servlets with java, and then heard of JSP.
I'm not sure about the diference of servlets and JSP.. I dont get the idea, I think it's like PHP or something like that.
Do you have any organized reference (or mind to explain the transition of "usual" Java to this technologies) about this?
Thanks.
Servlets are HTTP listeners that run in a servlet/JSP application engine like Tomcat, Jetty, etc.
JSPs are templates that are compiled into servlets. They allow you to write HTML-generating servlets in a tag-like template notation in such a way that dynamic behavior is possible.