scalatra-book icon indicating copy to clipboard operation
scalatra-book copied to clipboard

Add examples for 404 and static file handlers

Open JeremyChaseGawker opened this issue 13 years ago • 2 comments

Examples for custom 404 pages and serving static assets would be helpful.

JeremyChaseGawker avatar Feb 01 '12 22:02 JeremyChaseGawker

I've done up the static files section, still need to add in the custom 404 pages stuff.

futurechimp avatar Apr 21 '12 17:04 futurechimp

@JeremyChaseGawker does this meet your needs as far as custom 404 pages goes?

http://www.scalatra.org/stable/book/#Rendering_a_404_page_using_the__code_notFound__code__handler

futurechimp avatar Jun 10 '12 12:06 futurechimp