3,544 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
53
views
Download a pdf that is being streamed by Struts framwork
we have an old system build with Struts framework, and whenever a user wants a see pdf, it doesn't send it like regular pdf, but instead it streams it to the page and as an .action page.
When we try ...
1
vote
2
answers
184
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
485
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
1
answer
176
views
Apache Struts 6 file upload returns null
I am upgrading our legacy application from Apache Struts 2.5.33 to 6.7.0 to remediate the file upload vulnerability CVE-2024-53677. I have reviewed the following guides:
https://cwiki.apache.org/...
0
votes
0
answers
28
views
Struts 6.3.0.2 - Interceptor only works in default package
I have created an Interceptor and defined it in the default package in my struts.xml. It is working fine in the the default package (extends="struts-default"). I using this action
<...
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
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....
0
votes
0
answers
83
views
XML file not able to parse element even after giving proper dtd file URL
I am facing following error when starting my application
10:35:17,716 ERROR [org.apache.commons.digester.Digester] (ServerService Thread Pool -- 95) Parse Error at line 55 column 18: Element type &...
1
vote
1
answer
219
views
Struts2: ConfigurationManager and/or Configuration should not be null
I'm mid way into struts1 to struts2 migration and got the following error. I haven't any solution where to start and how to fix it. It builds successfully and after starting the webapp with tomcat, ...
1
vote
1
answer
2k
views
java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport
I have the following code in a JSP file for the tags which is included in all of my JSP files at the top:
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
&...
1
vote
1
answer
804
views
Spring Boot 3.1 + Apache Struts 7.0.0-M8 missing javax.servlet.http.HttpServletRequest
I have here an Application that uses Spring Boot 3.1 and Apache Struts 7.0.0-M8. I just can't get them to run as the Java classloader persistently tries to load the javax. HttpServletRequest instead ...
0
votes
1
answer
93
views
JSP page field Id problem after Struts upgrade from 2.5.26 to 2.5.30
After we upgraded Struts from 2.5.26 to 2.5.30 by replacing Struts core jar file, it looks like our JSP page field id generation performed by Struts is different than previous Struts. For example, we ...
0
votes
1
answer
114
views
struts1 issue for java.lang.NoSuchMethodError: org.apache.struts.action.ActionForward.setContextRelative(Z)V
I am working on legacy application which still uses the struts basic jars and unfortunately we cant replace these jar though we can upgrade the jar versions.
I am facing below error on JSP load...
...
0
votes
1
answer
425
views
Migration from Struts 2.3.37 to Struts 2.5.33
Hi I want to migrate to struts 2.5.33 from struts 2.3.37 . Followed this page (https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration) and updated my project. Here is my struts ...