You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Java Doc of HttpServletResponse, error page generated by sendError API contains the message.
In grizzly implementation, allowCustomReasonPhrase flag in HttpResponsePacket influences both the reason phrase(ex. HTTP/1.1 404 REASON) and the error page generated by the web container.
Therefore, the error page does not include the message if the jvm option is set.
On the other hand, in grizzly 1.9.X and GlassFish 3.1.2.2, allowCustomReasonPhrase works only to the reason phrase.
So the error page include the message even if the jvm option is configured.
Is the behavior of latest grizzly right?
Affected Versions
[2.3.15]
The text was updated successfully, but these errors were encountered:
GlassFish makes the custom reason phrase disabled if the following jvm option is set to GlassFish.
According to Java Doc of HttpServletResponse, error page generated by sendError API contains the message.
In grizzly implementation, allowCustomReasonPhrase flag in HttpResponsePacket influences both the reason phrase(ex. HTTP/1.1 404 REASON) and the error page generated by the web container.
Therefore, the error page does not include the message if the jvm option is set.
On the other hand, in grizzly 1.9.X and GlassFish 3.1.2.2, allowCustomReasonPhrase works only to the reason phrase.
So the error page include the message even if the jvm option is configured.
Is the behavior of latest grizzly right?
Affected Versions
[2.3.15]
The text was updated successfully, but these errors were encountered: