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

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

Reply via email to