There's a big difference between scriptlets (<% %>) and library tags.
They are executed at different times.  The scriptlets are executed each
time the JSP runs (they're included in the JSP page 'as is') whereas the
tag libraries (<jsp:  >) are processed once to write out the actual
servlet.  See what your JSPs look like in WEB-INF/jsp directory you
won't find any <jsp: > calls because they're meaningless to java itself.
  They're used to write out java code within the servlet.

d.

Nilsson, Mattias wrote:

> I've tried to write the following:
>
> <bean:message key="<jsp:getProperty property="textKey"/>" />
>
> which doesn't work. However, the following works:
>
> <bean:message key="<%= aBean.getTextKey() %>" />
>
> Is it possible to nest tags as in the first example? How? What are the rules
> for nesting tags?
>
> /Mattias
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>
>


--
David Mossakowski              [EMAIL PROTECTED]
Instinet Corporation                 212.310.7275



*******************************************************************************
<<Disclaimer>>

This message is intended only for the use of the Addressee and
may contain information that is PRIVILEGED and/or
CONFIDENTIAL or both.

This email is intended only for the personal and confidential use
of the recipient(s) named above.

If the reader of this email is not an intended recipient, you have
received this email in error and any review, dissemination,
distribution or copying is strictly prohibited.

If you have received this email in error, please notify the sender
immediately by return mail and permanently deleting the copy
you received.

Thank you.

*******************************************************************************

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to