Cezar Totth wrote:

> Hi Richard,
>
> I'm not using jsp, but should not the <jsp:setProperty > tag
>
> be closed with an simple '>' instead of '/>', like all other tags?
>
> Try:
>   <jsp:setProperty name="country" property="*" >
>
> Instead of:
>   <jsp:setProperty name="country" property="*" />
>                                                ^ This looks strange to me
>
> just a guess
> Bye,
> Cezar.
>

This is not at all strange if you want your jsp actions to be compatible with
XML.  This syntax requirement is true on all the standard action tags.  For
example, you can declare a bean all in one go:

    <jsp:useBean name="..." ... />

or you can have open and closing tags:

    <jsp:useBean name="..." ...>
    ... other stuff, like setProperty calls ...
    </jsp:useBean>

See the JSP spec for the syntax requirements.

Craig McClanahan

___________________________________________________________________________
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