Java server pages
JavaServer Pages help a user create Web content that has static and dynamic components. On a JSP page, static data is expressed with HTML, XML, or other text based formats, and dynamic content is expressed with JSP element. JSP uses a unified expression language to help integrate it with JavaServer Faces and other J2EE Web tier technologies. JSP also makes use of the JSP Standard Tag Library. In this section, we offer news, research and tutorials on using JSF to help develop dynamic Web content. Learn how JSP can help create platform-independent Web applications using Java EE 5 technology, including JavaServer Faces and the JavaServer Page Standard Tag Library.
Top Stories
-
Tip
15 Feb 2023
Why Java in 2023?
Has there ever been a better time to be a Java programmer? From new Spring releases to active JUGs, the Java platform is experiencing a renaissance. Continue Reading
By- Darcy DeClute, Scrumtuous Inc.
-
Feature
30 Sep 2020
Is Apache Tomcat the right Java application server for you?
What is the best application server? The answer depends on what an enterprise is looking for. Compare Apache Tomcat to these four offerings to see which Java app server fits. Continue Reading
By- Tim Culverhouse, Site Editor
-
Video
30 Jul 2020
Tomcat vs. JBoss: Compare features of these Java app servers
How do Apache Tomcat and RedHat's JBoss EAP server compare? Evaluate the features of each application server to find the one that makes sense for your enterprise. Continue Reading
By- Cameron McKenzie, TechTarget
-
Opinion
30 Mar 2017
Stop adding web UI frameworks like JSR-371 to the Java EE spec
Java EE's Servlet and JSP API provide a fine foundation for handling a web-based request-response cycle. Adding UI frameworks like JSR-371 to the spec only causes problems. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
16 Feb 2016
Five drawbacks to choosing JSF as your web application framework
Being packed as part of the Java EE web profile, JSF is a compelling web framework to choose, but here are five reasons why you might want to think twice about using JavaServer Faces as UI framework for your project. Continue Reading
By- Cameron McKenzie, TechTarget
-
News
15 Oct 2015
Life beyond the JavaOne sessions: Mastering life in San Francisco
You won't spend every moment at JavaOne in a session, so here is some advice from Barry Burd on how to navigate San Francisco and get the most out of the JavaOne experience. Continue Reading
By- Barry Burd, Drew University
-
Tutorial
04 May 2015
How to invoke a JSF managed bean asynchronously through JavaScript
Sometimes great frameworks like JSF, Wicket or Spring MVC make simple tasks surprisingly difficult to do. With JavaServer Faces, the simple task of invoking a method on a managed bean is actually a bit of a chore. In this tutorial, we tackle that chore together. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
18 Aug 2014
HTML5 now rules the desktop, but shortcomings make it a hard sell for mobile
HTML5 is changing the game for both mobile and desktop developers, but that doesn't mean HTML5 is a panacea. Performance problems, a lack of tooling and missing features are causing a roadblock for some organizations, especially in the mobile space. Should you go with HTML5, or is a hybrid or native approach right for you? Continue Reading
-
Tutorial
20 Jul 2014
Integrating Ajax into your Facelets pages: Death to JSF's request-response cycle
If you're doing Facelets development, this might be the most important tutorial you will ever read. It will explain to you how to throw out that annoying request-response cycle, and explain how to integrate Ajax based JSF components with a dynamically re-rendering Facelets page snippet. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Template based web design with JSF Facelets: ui:insert versus ui:include
When creating a web page template with JSF, a developer needs to know the difference between ui:insert and ui:include. They're actually quite different, but the similar sounding names can create confusion. Here's a great example of when to use ui:insert and how to properly use ui:include. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
19 Jul 2014
Turning a web page into a JSF 2.0 template with Facelets
How do you take a web page and turn it into a template using Facelets as the template engine? It takes some JSF, some HTML, maybe some CSS, and lots of JSF UI tags, but overall, it's an easy and simple process if you follow this tutorial. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
19 Jul 2014
An introduction to template building with Facelets, CSS, HTML and JSF 2.2
Facelets is a great technology for creating templates for websites and then adding dynamic functionality. In this tutorial, we will introduce the idea of creating a template page with CSS, HTML, JavaScript and JavaServer Faces 2.2 (JSF). Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
29 Apr 2014
How to define a portlet namespace and context paths using JSTL and JSP
Learn how to define portlet namespaces and context paths using JSTL and the JSP expression language. Continue Reading
By- Sal Pece
-
Tutorial
18 Feb 2014
How to animate your web pages using JavaScript, HTML and CSS: A tutorial
One of the great benefits to using JavaScript is the fact that it allows you to animate your web pages in simple yet creative ways. Here we look at a simple example that animates the result of a game or rock-paper-scissors. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
17 Feb 2014
A simple tutorial on using the JavaScript event model
To be great at JavaScript languages like JQuery, Dojo and YUI, you must master the basics of JavaScript. Here we look at implementing a simple Roshambo application using the JavaScript event model. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
05 Jan 2014
Can Java and JSF on the server-side make mobile on the front end easier?
While many software developers are learning new programming languages to deliver native mobile solutions to users, companies like ICEsoft with their ICEmobile solutions are solving the mobile development problem with HTML5 on the front end, with Java and JSF running on the server. Continue Reading
By -
Tip
04 Oct 2013
Annotation versus XML configuration: Which JPA option to choose?
A common debate in the JPA community is whether to configure applications using an XML or annotations based approach. Here are some reasons why you might want to choose XML instead. Continue Reading
By- Lukas Stewart
-
Tutorial
11 Aug 2013
Application_Scope versus Portlet_Scope: Understanding the JSR 286 PortletSession
Managing state through the PortletSession is a supremely important job for the portal developer, and knowing how to manage the session means understanding the difference between the PortletSession scopes: APPLICATION_SCOPE and PORTLET_SCOPE. Continue Reading
By- Sal Pece
-
Feature
21 Jul 2013
JSR-286 portlet development tutorial and technology guide
This JSR-286 Portlet Development Tutorial and Technology Guide is designed to help enterprise Java professionals gain the knowledge they need to excel in the emerging portal and portlet development space. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
18 Oct 2012
Web page performance: Removing the white flicker delay
Looking for ways to improve the performance of web page rendering and removal of the white flicker that often occurs when a web page loads? There are many tweaks and tips commonly talked about regarding web page development – from design to the final deployment of an application. However, most of the end user's time is spent on the front end, hence from the user's perspective the most promising area to look for improvement is with the web page and how speedily the web pages loads when user clicks on a link or URL. Continue Reading
By- Nirupa Katare
-
Feature
30 May 2012
Java EE 7 migration: Risk mitigation strategies
Some enterprise Java shops are weighing the risks of a migration to Java EE 7 against the potential benefits, which are incremental and cloud focused. Continue Reading
By -
Tip
23 Feb 2012
Five Neat Things You Can Do Out of the Box with Liferay Portal
If you've ever run a competitive portal, you know that so many of them have little more than the "weather portlet" or "bookmarks" portlet after installation. Liferay is amazing because it has such full featured functionality 'out of the box.' Here's just five featuers I love about Liferay Portal 6.1. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
12 Jan 2012
New Java 7 Features: How to Use a More Precise Rethrow in Exceptions from Project Coin
Afficionados of other languages such as Scala or Clojure are always slagging the fact that Java is too verbose and cumbersome. So, it's not too surprising to find out that Java 7 introduced a number of new facilities that can help to trim down the code an application developer is required to write. Continue Reading
By- Sal Pece
-
News
07 Oct 2011
JavaOne 2011: Mark it up as a success
Last year a cloud of gloom hung over the three or four San Francisco hotels in which Oracle had sliced, diced and distributed all of the JavaOne sessions. There was a clear and palpable feeling of distrust and uncertainty that permeated the on-goings, and a typical sentiment was 'JavaOne was a lot better when Sun was running it.' Continue Reading
-
Tip
02 Oct 2011
Include vs. Forward of the Servlet RequestDispatcher
The key difference between the two is the fact that the forward method will close the output stream after it has been invoked, whereas the include method leaves the output stream open. Continue Reading
By- Matthew Stewart
-
News
11 Aug 2011
Mobicents Sip Servlets 1.6.0.FINAL is out
The release comes with the following new features: SNMP support, support for SIP servers, support for ENUM, Mobicents Sip Servlets, DoS attack protection, JSR 289 Extension, Simple Global Logging Configuration, and IPv6 support. Also of note in the new release are the move to Apache Tomcat 6.0.32 and numerous bug fixes. Continue Reading
-
Feature
08 Feb 2011
Top 5 reasons that JSP scriptlets suck
Learn the top 5 reasons why scriplets and Java code aren't optimal in JSP pages. Continue Reading
By- Bear Bibeault, Author, jQuery in Action
-
News
01 Sep 2008
What is an App Server?
It's worth considering what the definition of an application server is to make sure that the term means the same thing to everyone who uses it. So let us ask the question: what is an application server? Which attributes from the following list are part of an application server? Continue Reading
By- Joseph B. Ottinger, EnigmaStation
-
News
01 Apr 2008
Programmatic Dependency Injection with an Abstract Factory
This article discusses the strength and weakness of applying Dependency Injection (DI) with a variant of Abstract Factory design pattern. This approach is especially suitable for such scenarios as creating local stateful objects with dynamic parameters, handling checked exceptions thrown during object creation, and dynamically wiring up objects. IoC frameworks, such as Spring IoC container, PicoContainer and Guice, do not offer good solutions for these issues or simply unable to address them. Continue Reading
By- Danny Hui
-
News
11 May 2006
Free Book: Servlets and JavaServer Pages: The J2EE Technology Web Tier
Addison-Wesley and Developmentor have provided TheServerSide.com with the entire book of Servlets and JSP the J2EE Web Tier for free download. Servlets and JSP the J2EE Web Tier is a book authored by Jayson Falkner and Kevin Jones about the latest in Servlets and JSP. The current version of the book covers Servlets 2.4, JSP 2.0, and the JSTL 1.0. Both Kevin and Jayson helped directly make the specifications and are proud to publish one of the first books covering the technologies. Continue Reading
By- Jayson Falkner and Kevin Jones