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, <[email protected]> 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
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to