ErrorResolution should be able to send html along the error code
----------------------------------------------------------------
Key: STS-615
URL: http://www.stripesframework.org/jira/browse/STS-615
Project: Stripes
Issue Type: Improvement
Components: ActionBean Dispatching
Affects Versions: Release 1.5
Reporter: Hector Lopez
Priority: Trivial
ErrorResolution works great when you only want to send a plain error code, but
there's no way to attach html to the response.
The exception handling docs tells us that it's great to be able to return a
Resolution in response to an exception, but, currently, you are forced to
choose between an error code or a pretty page with a "200 OK". There's quite a
bit of implications in this, from web robots to web browser's caches. I'm
currently facing this in a toy project where I need to throw some 404 errors,
but in the event of a 500 error, it applies as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development