[webbeans-dev] Re: XML configuration format

Scott Ferguson ferg at caucho.com
Fri Jan 9 17:26:07 EST 2009


On Jan 8, 2009, at 12:07 PM, Jim Knutson wrote:

>
> > * JSP pages
> > * JSF pages
>
> Can you elaborate?
>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
                 xmlns:tags="urn:jsptagdir:/WEB-INF/tags" >
   <tags:test/>
</jsp:root>

It's been around for several years.  The urn:jsptagdir:path was  
introduced in JSP 2.0 (2003).

It's not a new concept at all.

-- Scott
>  When I look at faces-config.xml, I see something
> that looks like the typical DD elements we've seen in the past:
>
> <managed-bean>
>     <managed-bean-name>TestBean</managed-bean-name>
>     <managed-bean-class>test.TestBean</managed-bean-class>
>     <managed-bean-scope>request</managed-bean-scope>
> </managed-bean>
>
> That's not a new style and given that JSPs are defined in the web.xml,
> I'm not sure what "new" style you are talking about.  Note, we're
> talking about metadata syntax, not the JSP/JSF page source.
>
> Thanks,
> Jim Knutson
> WebSphere J2EE Architect
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090109/82e37ae1/attachment.html 


More information about the weld-dev mailing list