arturobernalg opened a new pull request, #1254: URL: https://github.com/apache/tomcat/pull/1254
With the sample `tagPlugins.xml` (the one `jasper-howto` points to), any `<c:import>` or `<c:url>` with a nested `<c:param>` fails with HTTP 500: `JspTagException: <param> outside <import>`. The Import plugin generates its parameters through the Param plugin, but the sample does not register Param, so the standard `<c:param>` handler runs inside the inlined `<c:import>` and finds no enclosing import handler. `TestImport` now uses the sample configuration (it used its own file that already registered Param, which is why this was not caught), and that file is removed. Without the fix `testParams` and `testParamKeepsUserAttribute` return 500. Checked on a running Tomcat against JSTL 3.0.1: with the fix the plugin output matches the standard tags. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
