Chapter 5. URL Actions

Topics in This Chapter

  • Overview

  • The <c:import> Action

  • The <c:redirect> Action

  • The <c:url> Action

  • The <c:param> Action

  • Accessing External Resources

  • Accessing Resources in Foreign Contexts

  • Redirecting a Response

If you've developed Web applications with JavaServer Pages (JSP), you have probably found many uses for <jsp:include> and <jsp:forward>. The former includes the contents of a resource and the latter forwards control to a Web component, such as a servlet or another JSP page. On the other hand, you may have found that those actions have limited capabilities; for example, the URLs that you specify for those actions must be relative URLs, so you cannot use them to access URLs outside your Web application. JSTL provides a set of ...

Get Core JSTL: Mastering the JSP™ Standard Tag Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.