Servlets and JSP: An Overview Page 3




What is JSP?

Java Server Pages (JSP) is a technology that lets you mix regular, static HTML with dynamically-generated HTML.

Servlets are Java technology’s answer to CGI programming; JSP is a technology that lets users mix regular, static HTML with dynamically-generated HTML. This tutorial discusses the basics of Java Servlets and JSP, and the advantages of using each of these technologies.

Many Web pages that are built by CGI programs are mostly static, with the dynamic part limited to a few small locations.

But most CGI variations, including servlets, make you generate the entire page via your program, even though most of it is always the same.

JSP lets you create the two parts separately.

Here’s an example:


Welcome to Our Store

Welcome to Our Store

Welcome back, To access your account settings, click here.

Regular HTML for all the rest of the on-line store's Web page.

Latest Posts

Oracle VM VirtualBox Review

Oracle VM VirtualBox: The Bottom Line Pro: Oracle VM VirtualBox is a free, open-source virtualization software product that can create emulated machines on Windows, Linux, Mac...

Best Virtual Machine Backup Tools & Software

If you ask any system administrator to name the top three pain points of their job, backups will almost surely make the list, which...

Related Stories