> 2) <jsp:useBean> body. I'm a little confused as to how I'm to handle a
> body. The reference implementation does not appear to allow bodies (it
> returns a ParseException if the useBean tag isn't terminated). If there
> are no restrictions on what can occur in the body, what is the intent of
> making the <jsp:useBean> tag a container?
I don't know about the reference implementation, but I have been playing
with JWS 2.0 beta 2 and this syntax works fine:
<jsp:useBean id="beanname" class="classname" scope="session">
<jsp:setProperty name="beanname" property="propertyname" value="value" />
</jsp:useBean>
++Jack++
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of James Cooper
> Sent: Friday, May 28, 1999 12:21 PM
> To: [EMAIL PROTECTED]
> Subject: a few questions
>
>
> hi,
>
> I've been reading the JSP 1.0 spec, and I have a few questions.
>
> 1) How will the javax.servlet.jsp package be distributed? That
> is, if I'm
> implementing a JSP engine, will users of my tool have to
> download this jar
> file from Javasoft, or will I be able to include that jar file with my
> distribution? Are there licensing costs associated with it?
>
> 2) <jsp:useBean> body. I'm a little confused as to how I'm to handle a
> body. The reference implementation does not appear to allow bodies (it
> returns a ParseException if the useBean tag isn't terminated). If there
> are no restrictions on what can occur in the body, what is the intent of
> making the <jsp:useBean> tag a container?
>
> thanks!
>
> -- James
>
> ================================================================
> ===========
> 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".