Sunday, 8 March 2015

JSP

JSP stands for Java Server Pages, is a J2EE technology that helps developers to develop dynamic web pages. JSP is built on top of servlets. Just like standard HTML pages, a JSP page contains HTML tags. JSP separates business logic from presentation.

I had Servlets, Why to use JSP ?
a. Servlets generate dynamic web pages, by embedding the HTML in Java programming language. Which means only Programmers can able to create dynamic web pages. Where as in JSP, visual content and application logic are separated. So you can divide the development tasks to the people with different skills, I.e, Web designers takes care of presentation logic, and Application programmers takes care of business logic.

b. In JSP, You can build custom tag libraries and can directly call Java beans.

c. Recompilation of JSP page is done automatically, whenever there is a change is JSP page.

Note:
JSP has no dependency on HTML, You can use JSP with any markup language like XML, WML etc.,




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment