In jetty 11 such features are auto configuring. You just need to add the
jar to the classpath and the feature will be discovered and added to the
webapp.
So just put jetty-annotation jar on the
classpath
On Sat, 3 Apr 2021, 06:32 Som Lima, wrote:
> Hi,
>
> I am looking for code showing how to configure embedded jetty to add
> features like annotations jsf etc.
>
> to the WebAppContext class in particular rather than adding features
> using the ServletHandlerContext.
>
> for jetty version 11.
>
>
>
> ___
> jetty-users mailing list
> jetty-users@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
>
___
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users