>
> <jsp:setProperty name="cookieBean" property="request" value="<%= request %>" />
>
> The problem is, the JSP engine generates the following Java code...
>
> cookieBean.setRequest((face javax.servlet.http.HttpServletRequest) ( request ));
I've seen this as well. My guess is that something in the jswdk is
deriving the type of the argument, and then chopping off the first
five characters, expecting that they are "Class". Obviously this
doesn't work when the type is an interface.
The workaround for this is to have setRequest() accept an argument of
type Object, and then cast it to a HttpServletRequest. Of course this
breaks the design patterns if you have a get method that returns a
HttpServletRequest, but at least it will work.
- Larne
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".