Thank you for your response.
Volker Stiehl wrote:
> See the answers below!
>
> Folks,
>
> Some clarifications on the following would be appreciated:
>
> 1) Why is there an implicit Bean, and implicit variable both with the same
> name
> request?
> Because you can decide, how to access your data. On the one hand you access
> the implicit bean by using the component centric tags (<DISPLAY><LOOP>)
> where on the other hand you access the implicit variable by using the
> scripting centric tags (<%...%>; <%=...%>). Your first choice should be the
> component centric tags.
According to the specs the "request" Bean has different attributes to "request"
ServletRequest. The point is you can't use 2 different Objects with the same
name.
>
> 2)Why is it that the implicit variable names for HttpServletRequest and
> HttpServletResponse differ depending on which Section of the .92 Doc you
> are reading.
> Both request and servletrequest are used to refer to HttpServletRequest and
> both
> response and servletresponse are used to refer to HttpServletResponset.
> There truth is that request/response are the correct names for the implicit
> variables. If you try it with servletrequest/servletresponse you will get a
> compile error (undefined variable or class name servletrequest).
> hth
Fine. But that is inconsistant with the specs. So the interpretations would
be dependent on the JSP Engine -
It would be great if someone from SUN can address the above and also below:
Question regarding request Bean in .92. How is getRealPath suppose to work
without a parameter?
>
> Volker Stiehl
>
> ===========================================================================
> 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".
===========================================================================
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".