The Artima Developer Community
Sponsored Link

Java Buzz Forum
HttpStatus JSP Tag Library

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Erik C. Thauvin

Posts: 4232
Nickname: ethauvin
Registered: Apr, 2004

Erik C. Thauvin maintains one of the web's first and most popular linkblogs.
HttpStatus JSP Tag Library Posted: Dec 16, 2015 4:57 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Erik C. Thauvin.
Original Post: HttpStatus JSP Tag Library
Feed Title: Erik's Weblog
Feed URL: http://erik.thauvin.net/blog/feed.jsp?cat=Java
Feed Description: The Truth is Out There!
Latest Java Buzz Posts
Latest Java Buzz Posts by Erik C. Thauvin
Latest Posts From Erik's Weblog

Advertisement

I've just released my HttpStatus JSP Tag Library, a simple JSP Tag Library to display the code, reason and/or cause for HTTP status codes in JSP error pages.

<%@ page isErrorPage="true" %>
<%@ taglib prefix="hs" uri="http://erik.thauvin.net/taglibs/httpstatus" %>
<html><head>
<title><hs:code/> <hs:reason default="Server Error"/></title>
</head>
<h1><hs:reason default="Server Error"/></h1>
Cause: <pre><hs:cause default="Unable to complete your request."/></pre>

As usual the source code, documentation and binary are on GitHub.

 
""

Read: HttpStatus JSP Tag Library

Topic: 7 Tips for Successful Code Generation in Java Previous Topic   Next Topic Topic: SQL GROUP BY and Functional Dependencies: A Very Useful Feature

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use