Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
42 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/...
BLX's user avatar
  • 19
0 votes
0 answers
18 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 <...
Steven Banks's user avatar
0 votes
0 answers
35 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 ...
CodingCreature's user avatar
0 votes
0 answers
209 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....
Varun's user avatar
  • 135
0 votes
0 answers
34 views

Hos can i show my data from the action in the jsp, with struts?

I have a Struts application in which I need to create a basic user management panel, but I can't get the view to display the data that I pass from the action. I have followed the instructions on how ...
Eduardo's user avatar
0 votes
0 answers
64 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 &...
Jainil Buddhdev's user avatar
1 vote
1 answer
136 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, ...
Peter Mulm's user avatar
1 vote
1 answer
1k 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"%> &...
Tan's user avatar
  • 1,593
1 vote
1 answer
657 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 ...
Readone Mohamed's user avatar
0 votes
1 answer
79 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 ...
HACPS's user avatar
  • 1
0 votes
0 answers
28 views

Separate Content-Disposition from HTTPServlet Response Writer

I asked the question earlier about Content-Disposition breaking JSP code. Although I didn't find an optimal solution, I did come to the conclusion of using a popup window to download the file. This ...
Anirudh Giran's user avatar
0 votes
1 answer
81 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... ...
Mangesh Kh's user avatar
0 votes
1 answer
337 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 ...
Office laptop's user avatar
1 vote
0 answers
111 views

window.opener.document.getElementById(<%=param%>).innerHTML= myvalue not working post struts 6.3.0.2 migration

While Migration struts 2 to 6.3.0.2 version the add document function is called with an onclick event.The window opens fine, but the element's innerHTML doesn't get added to parent page while clicking ...
Akash's user avatar
  • 19
1 vote
1 answer
138 views

SessionAware this.getSession().get("key") always giving null struts2

Using struts2, used SessionAware to keep userObject in session, I find out during the MainAction execution userObject setting properly in session, but while getting userObject in a differnt flow in ...
Bug's user avatar
  • 483

15 30 50 per page
1
2 3 4 5
237