According to the JSP1.0 specification the body of a jsp:useBean element is
executed once when the bean is created.
My problem is that the Sun's reference implementation does not seem to
accept non-empty jsp:useBean elements:

The following is accepted:
<jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session" />

but this is not:
<jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session">
</jsp:useBean>

The following error is produced:
'com.sun.jsp.compiler.ParseException:
D:\Java\jsp1.0\examples\jsp\num\numguess.jsp(9, 0) Unterminated'

Am I missing something very basic here or is this a known limitation ?

According to the README, the early access implementation does not support
TAGS (including code sections ?) in the body of a jsp:useBean, but that
limitation does in my opinion not address the above.

/Morten

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