11,323 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
56
views
Uploading a file using Struts 7 and Angular formData
Need help uploading a file with struts-7.0.xx. I understand that for security purposes changes were made, but I still cannot get it to work.
My upload code looks like this:
var ...
0
votes
0
answers
195
views
Issue upgrading Struts from 2.5.33 to 6.4.0 on Tomcat 9 / JDK 17
I upgraded Struts from 2.5.33 to 6.4.0.
Locally, the application runs fine after the upgrade, but when I deploy to a higher environment, I get the following error on shutdown:
4-Aug-2025 08:12:08.196 ...
1
vote
0
answers
125
views
Struts 2 @VisitorFieldValidator validates all forms, not just the one you want
Consider the following Struts 2 action using Struts 2 core and convention plugin 6.7.0, which uses the default interceptor stack.
package name.matthewgreet.basicstrutsexperiments.experiment4.action;
...
0
votes
0
answers
41
views
Error using StrutsSpringApplication on Liberty 25.0.0.3 using JDK 17
We have a Struts Spring Application running in WebSphere Liberty 25.0.0.3/JDK17. Struts- 6.3.0.2 and Spring Framework - 5.3.34.
It runs as a containerized application on OPenShift.
The error is ...
0
votes
1
answer
79
views
Is Guice 6.0.0 not compatible with struts2 6.7.0?
So I'm updating the struts2 version from 2.5.33 to 6.7.0 and my project used Guice to inject dependencies, but right now, whenever I'm running the application, I see that injects don't really work in ...
1
vote
2
answers
183
views
Struts 6.4.0 not setting inputs into objects
I am migrating an application from Struts 2.* to 6.4.0. But I am seeing an issue when the form is submitted from the jsp.
The jsp looks like this:
<s:form id="appDetailsForm" action=&...
1
vote
0
answers
58
views
<br/> tag is getting rendered using <s:radio> in Struts7 instead of creating line break
I am migrating a Struts application from Struts 2.5.33 to Struts 7.0.0. The following snippet created a line break in struts 2.5.33 (code and rendering below). Responsibility is only to migrate code ...
0
votes
1
answer
484
views
After migrating to Struts 7.0.0, `<s:set>` won’t pick up my POJO property—what am I missing?
I’ve just upgraded our project from:
Struts: 2.5.32 → 7.0.0
Spring: 5.x → 6.x
Java: 8 → 17
Since the migration, the <s:set> tag no longer reads values from my POJO, even though it used to work ...
0
votes
0
answers
140
views
How to run a Struts2 application inside a JAR using Spring Boot (with embedded Tomcat)?
I have a legacy web app built using Struts2 framework , Actions and JSPs . It has multiple middleware and UI modules which are built using a gradle plugin which does tasks like making a common js and ...
0
votes
0
answers
36
views
Struts 7: userViewUtil is showing empty value in JSP
I'm working on a Struts 7 application and facing an issue where userViewUtil is showing an empty value in JSP.
I'm using <s:bean> and <s:set> to create and set values:
<s:bean name=&...
0
votes
1
answer
787
views
Struts 7.0.0 problem with s:property tag and beans
I am trying to migrate a project from Struts 2.3.x to 7.0.0, but I am having trouble retrieving attribute values from a bean using the <s:property> tag.
At first, I thought I was missing some ...
0
votes
0
answers
102
views
HTTP Status 404 Not found
I am trying to run a web application in Java Tomcat 9.0.89. The application was running earlier. However, after reinstalling eclipse IDE, I am unable to run the same web application war file. It is ...
0
votes
0
answers
61
views
Does jakarta.enterprise.context.ApplicationScoped exist with JavaEE9/OpenJDK-17/Struts7/Jakarta?
Hi I tried many trails by giving various dependencies to try this to replace javax.enterprise.context.ApplicationScoped with jakarta.enterprise.context.ApplicationScoped. I have also referred this ...
0
votes
0
answers
270
views
FreeMarker template attributes becomes null! in struts 7.0 customized component
I'm using sturts 7.0.0 custom Anchor class, I got following FreeMarker template error.
The following has evaluated to null or missing:
==> attributes [in template "template/simple/a-close.ftl&...
0
votes
0
answers
303
views
Struts 6.3.0.2 to 6.7.0 upgrade - java.lang.abstractmethoderror: org/apache/tiles/web/startup/AbstractTilesListener.createTilesInitializer()
We are currently migrating our struts application from 6.3.0.2 to 6.7.0
While starting the IBM websphere server, we are getting the issue below
Exception caught while initializing context : {0} java....