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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.