[jira] [Commented] (GERONIMO-6002) Can't configure defaultJspServlet parameters
[ https://issues.apache.org/jira/browse/GERONIMO-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213437#comment-13213437 ] xiezhi commented on GERONIMO-6002: -- Have verified it in geronimo 3.0-beta-1. It actually works for JSP with configuring enable debug module and trimSpaces Option. Can't configure defaultJspServlet parameters Key: GERONIMO-6002 URL: https://issues.apache.org/jira/browse/GERONIMO-6002 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Components: Tomcat Affects Versions: 3.0 Reporter: Kevan Miller Assignee: Kevan Miller Fix For: 3.0 Attachments: jsp.development.mode It's not currently possible to configure the defaultJspServlet properties. This means that you can't configure 'development' mode or trimSpaces. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (GERONIMO-6002) Can't configure defaultJspServlet parameters
[ https://issues.apache.org/jira/browse/GERONIMO-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13052820#comment-13052820 ] Jarek Gawor commented on GERONIMO-6002: --- These changes make it easier to configure various Jasper settings for the default jsp servlet that handles files with .jsp and other extensions. However, this does not affect Jasper settings when a jsp-servlet is configured (via servletservlet-name../servlet-namejsp-file.../jsp-file/servlet). I discovered that I had to replicate almost the same Jasper settings in the tomcat7-deployer configuration (in TomcatWebBuilder gbean - jspServlet attribute). There should only really be one place where these Jasper settings should be set and work the same in both cases. Btw, the same Jasper configuration is also replicated in jetty8-deployer. Can't configure defaultJspServlet parameters Key: GERONIMO-6002 URL: https://issues.apache.org/jira/browse/GERONIMO-6002 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Components: Tomcat Affects Versions: 3.0 Reporter: Kevan Miller Assignee: Kevan Miller Fix For: 3.0 It's not currently possible to configure the defaultJspServlet properties. This means that you can't configure 'development' mode or trimSpaces. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (GERONIMO-6002) Can't configure defaultJspServlet parameters
[ https://issues.apache.org/jira/browse/GERONIMO-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13046952#comment-13046952 ] Kevan Miller commented on GERONIMO-6002: With these changes, can now override xml attributes in config.xml. For instance: {code} module name=org.apache.geronimo.configs/jasper-deployer/3.0-SNAPSHOT/car gbean name=JspModuleBuilderExtension attribute name=defaultJspServlet web-app xmlns=http://java.sun.com/xml/ns/javaee; servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namedevelopment/param-name param-valuetrue/param-value /init-param init-param param-nametrimSpaces/param-name param-valuetrue/param-value /init-param init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namelogVerbosityLevel/param-name param-valueDEBUG/param-value /init-param init-param param-namexpoweredBy/param-name param-valuefalse/param-value /init-param init-param param-nameengineOptionsClass/param-name param-valueorg.apache.geronimo.jasper.JspServletOptions/param-value /init-param load-on-startup0/load-on-startup /servlet servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsp/url-pattern url-pattern*.jspf/url-pattern url-pattern*.jspx/url-pattern url-pattern*.xsp/url-pattern /servlet-mapping /web-app /attribute /gbean /module {code} Could add this to config-xml-content for jasper-deployer. But, should consider letting var/catalina/conf/web.xml control these settings. Something for later... Can't configure defaultJspServlet parameters Key: GERONIMO-6002 URL: https://issues.apache.org/jira/browse/GERONIMO-6002 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Components: Tomcat Affects Versions: 3.0 Reporter: Kevan Miller Assignee: Kevan Miller Fix For: 3.0 It's not currently possible to configure the defaultJspServlet properties. This means that you can't configure 'development' mode or trimSpaces. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira