Yep, I *should* have known that :)... The sendError() method of HttpServletRequest does it. Sorry for wasted bandwidth!
-- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, May 31, 2005 3:13 pm, Frank W. Zammetti said: > I fear I should know this answer, but... > > How can one, from a servlet (or Struts Action maybe) "throw" a specific > HTTP return code? I need to return a 403 from a servlet if certain things > are not present in the request... is it just a matter of setting a > particular header, or is there something to throw, like an exception? > > Thanks all! > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]