My issue is I want to give a bad request response for a given request but also render a pretty nice page for the user to look at. How can I create such a template in playframework 1.2.x?
Thanks, Val
You just have to create a new package named "errors" in your "views" package.
Then you can create customized error pages named "404.html", or "500.html", etc. inside your "errors" package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With