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
"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
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
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.