You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2026/08/01 10:52:01 UTC
[jira] [Updated] (WW-5505) Struts 7.0.0 - JSP rendering is taking 3X time compare to struts 6.3.0.2
[ https://issues.apache.org/jira/browse/WW-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-5505:
------------------------------
Fix Version/s: 7.4.0
(was: 7.3.0)
> Struts 7.0.0 - JSP rendering is taking 3X time compare to struts 6.3.0.2
> ------------------------------------------------------------------------
>
> Key: WW-5505
> URL: https://issues.apache.org/jira/browse/WW-5505
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 7.0.0
> Reporter: Yogesh Patel
> Priority: Major
> Fix For: 7.4.0
>
> Attachments: image-2024-12-24-20-30-41-434.png, image-2024-12-24-20-49-55-814.png
>
>
> After upgrading to version 7.0.0, the JSP rendering time has significantly increased from around 500ms to approximately 1.5 seconds. Upon further investigation, it was discovered that the increase in time is primarily due to Ognl.getValue taking longer than it did in the previous version.
> Datadog Profiling screenshot:
> !image-2024-12-24-20-30-41-434.png!
> Sample JSP & Java Code as below:
> !image-2024-12-24-20-49-55-814.png!
> We have added following constant in struts.xml
> <constant name="struts.chaining.copyErrors" value="true" />
> <constant name="struts.chaining.copyMessages" value="true" />
> <constant name="struts.ui.checkbox.submitUnchecked" value="true"/>
> <constant name="struts.ognl.expressionMaxLength" value=""/>
> <constant name="struts.parameters.requireAnnotations" value="false"/>
> <constant name="struts.allowlist.enable" value="false"/>
> <constant name="struts.mapper.alwaysSelectFullNamespace" value="false"/>
> <constant name="struts.actionConfig.fallbackToEmptyNamespace" value="true"/>
> Can you please help with this ?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)