Re: API Questions....getAttributeNames()......and browser type.

1999-05-05 Thread Papaya Head
getAttributeNames() is a method in interface javax.servlet.ServletRequest, not in interface javax.servlet.http.HttpServletRequest. could this be the problem? Original Message Follows From: "Craig R. McClanahan" <[EMAIL PROTECTED]> "Simonin, Bradley" wrote: > Hello allI have 2 ques

Re: API Questions....getAttributeNames()......and browser type.

1999-05-04 Thread Craig R. McClanahan
"Simonin, Bradley" wrote: > Hello allI have 2 questions. > > When I try to compile with the req.getAttributeNames() method I get the > following: Method getAttributeNames() not found in interface > javax.servlet.httpServletRequest. I have the following imported: > > import java.io.*; > impo

Re: API Questions

1999-04-01 Thread Gabriel Wong
Makes sense... "Craig R. McClanahan" wrote: > Gabriel Wong wrote: > > > Hi, > > > > I have some API questions, hopefully someone can shed some light. > > > > RequestDistpatcher: > > Why does forward throw an IllegalStateException while include throw IOException if >the > > ServletOutputStream o

Re: API Questions

1999-04-01 Thread Craig R. McClanahan
Gabriel Wong wrote: > Hi, > > I have some API questions, hopefully someone can shed some light. > > RequestDistpatcher: > Why does forward throw an IllegalStateException while include throw IOException if >the > ServletOutputStream or a writer had already been obtained from the response object.