Yan,
Thanks, I've looked up your suggestion and found the following:
It appears that processRequest() method takes a HttpServletRequest object
as it's parameter. The implicit request bean is of type ServletRequest.
It looks like there's a type mismatch. Also, looking at the JSDK2.1 API,
both HttpServletRequest and ServletRequest are interfaces that don't
inherit from anything. Am I missing something here? Would you have any
other ideas by any chance? Thanks.
- Jim
PS. What purpose does the implicit request bean serve if all that can be
done with it is <DISPLAY>?
On Thu, 11 Mar 1999, Yan Pujante wrote:
> Jim Tsang wrote:
> >
> > Hi folks,
> >
> > On my jsp page, I have a bean that tries to access the content type,
> > serverName, etc... from the incoming client, but it seems that this
> > is impossible. According to the 0.92 specification, there's an implicit
> > request bean which contains such information, but can't be used within
> > <SCRIPT, scriptlet<%... %>, or expression <%= ... %> tags. which means
> > that my bean can't get to such information. Is there any way around
> > this? Thanks.
> >
> > - Jim
> >
>
> To my knowledge you can only display this information through <DISPLAY>.
> But if you really want to do something with request values, you should
> create a bean and implement the processRequest method that is
> automatically called with this bean as a parameter... This will have the
> advantage of keeping the code outside of your jsp page. See the spec for
> a description of this feature.
>
> Yan
>
> --
>
> http://eowyn.fr.eu.org/~yan/ | [EMAIL PROTECTED]
>
> SocialNet: Where people connect... http://www.socialnet.com
>
------------------------------------------------------------------------
Jim Tsang Phone: (510) 628-0100
Scientific Applications Specialist Fax: (510) 628-0108
Pangea Systems Inc. email: [EMAIL PROTECTED]
1999 Harrison Street, Suite 1100 URL: http://www.panbio.com
Oakland, CA 94612
------------------------------------------------------------------------
===========================================================================
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".