[undertow-dev] Adding JSP support

Tomaž Cerar tomaz.cerar at gmail.com
Tue May 6 18:03:25 EDT 2014


JSP support is just another servlet you need to map, noting more.

for example see how we create SevletInfo for JSP servlet
https://github.com/wildfly/wildfly/blob/master/undertow/src/main/java/org/wildfly/extension/undertow/JSPConfig.java
then all you need to do is add mappings where jsp servlet will listent to,
usualy *.jsp...

see
https://github.com/wildfly/wildfly/blob/master/undertow/src/main/java/org/wildfly/extension/undertow/deployment/UndertowDeploymentInfoService.java#L553
to see what we do in WildFly to wire everything up, to be fair you probably
don't need Injection stuff.

--
tomaz



On Mon, May 5, 2014 at 12:08 PM, Dragan Jotanovic <draganj at gmail.com> wrote:

> Hi,
> does anyone have code example of how to configure Undertow with JSP
> support? I didn't find any information on this in documentation.
>
> Thanks,
> Dragan
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20140507/00ef39c3/attachment.html 


More information about the undertow-dev mailing list