This content has been marked as final.
Show 3 replies
-
1. Re: JSP content downloads instead of rendering - upgrading JBoss 7 to wildfly
Jaikiran Pai Feb 19, 2018 12:18 AM (in response to Har P)Can you attach a simple application which reproduces this on WildFly 11? Which operating system are you starting the server on and which Java vendor and version? Also, what exact URL do you use when you see this issue?
-
2. Re: JSP content downloads instead of rendering - upgrading JBoss 7 to wildfly
Tomaž Cerar Feb 19, 2018 9:18 AM (in response to Har P)you do not need jsp servlet defined in your web.xml that is what container does for you.
It could be clashing with server provided jsp servlet.
Just remove it and its servlet-mapping and you should be fine.
If it still causes problems, please show whole web.xml and list of jars in WEB-INF/lib (you can omit yours)
-
3. Re: JSP content downloads instead of rendering - upgrading JBoss 7 to wildfly
Har P Feb 21, 2018 7:11 PM (in response to Har P)Commenting out the jsp servlet info from web.xml brings up the welcome page jsps. Not sure how it was working on JBoss as 7.1.1 final and needed to be removed in wildfly 8.2.1 Final/wildfly 11.