Is there any way to detect the cookies from a servlet invoked by the <SERVLET> tag from a shtml page?
Created May 4, 2012
Kumar Allamraju Because the HTTP header information is written before the embedded servlet is
executed, embedded servlets cannot perform any functions which require writing
to the HTTP header. For this reason, the following restrictions apply to servlets
embedded in .shtml pages:
- No cookies
- No redirects
- No errors or status (HttpServletResponse.sendError() or sendStatus())
- No setHeader()
- No setting of the content length