Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] load jetty module from xml context configuration

Hello,

The bug is apparently somewhere else, so I don't need this anymore (at least until further notice).

Thanks
Fab

Le mercredi 4 mars 2026, 09:12:17 heure normale d’Europe centrale Fab Stz via jetty-users a écrit :
> Hello,
> 
> Is it possible to load a jetty module from the XML configuration file of a webapp (context configuration)?
> 
> I have this configuration XML of the webapp and I need to load ee8-annotations module, if possible without modifying start.ini or start.d?
> 
> I haven't found anything like that in the doc.
> 
> Thanks
> Fab
> 
> 
> <Configure id="VnuContext" class="org.eclipse.jetty.ee8.webapp.WebAppContext">
>   <Set name="contextPath">/vnu</Set>
>   <Set name="war">/usr/share/vnu/webapp</Set>
> 
>   <!-- get a ContextHandler reference that the AliasChecker can use -->
>   <Get id="contextHandler" name="coreContextHandler" />
> 
>   <!-- Enable symlinks -->
>   <Call name="addAliasCheck">
>     <Arg>
>       <New class="org.eclipse.jetty.server.SymlinkAllowedResourceAliasChecker">
>         <Arg><Ref refid="contextHandler"/></Arg>
>       </New>
>     </Arg>
>   </Call>
> 
> </Configure>
> 
> 
> 
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users
> 






Back to the top