[ANN] Struts Annotations 2.0

2025-07-19 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Apache Struts Annotations version 2.0 is available as a “General Availability” release. The GA designation is our highest quality grade. The Apache Struts Annotations are used by the Apache Struts project to generate taglib info and generate

Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-12 Thread Lukasz Lenart
I updated the Getting Started guide to Struts 7 https://github.com/apache/struts-site/pull/272 Cheers Łukasz - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-12 Thread Lukasz Lenart
pt., 11 lip 2025 o 07:58 IGRA TRANSFORMING KNOWLEDGE napisał(a): > > can anyone share the code of crud operation using strut7. > > however, still struts official displaying 2.5 version > https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application That shouldn

Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-10 Thread IGRA TRANSFORMING KNOWLEDGE
can anyone share the code of crud operation using strut7. however, still struts official displaying 2.5 version https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application Thanks in advance. On Thu, Jul 10, 2025 at 3:32 PM Krishnaraj Viswanathan wrote: > Luk

Re: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-10 Thread Lukasz Lenart
Probably yes, there could be also a case where WLS15 will support javax.* as well (I'm not an Oracle expert in this matter) czw., 10 lip 2025 o 12:02 Krishnaraj Viswanathan napisał(a): > > Lukasz, > Following up on this, does this mean, we will have to migrate to > Str

RE: [External] : Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-10 Thread Krishnaraj Viswanathan
Lukasz, Following up on this, does this mean, we will have to migrate to Struts 7 when taking up WLS 15 which supports jakartax.*? ~K -Original Message- From: Lukasz Lenart Sent: Wednesday, July 9, 2025 10:31 AM To: Struts Users Mailing List Subject: [External] : Re: Struts

Re: Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-08 Thread Lukasz Lenart
After asking Perplexity I got such an answer: WebLogic 14c is compatible with Jakarta EE 8 only. It does not support Jakarta EE 9 or later versions, which introduce the new `jakarta.*` namespace Cheers Lukasz pon., 7 lip 2025 o 20:43 Arsen Milutsa napisał(a): > > Hello, > > Getting the complianc

RE: [External] : Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-08 Thread Krishnaraj Viswanathan
To my knowledge, WLS 14 is yet to support jakartaEE and it is still on JavaEE. WLS 15c is where the shift is happening. You might have to stay on Struts 6 for WLS 14. Again, this is not something that I know for sure, but something I understood from my initial reading. ~K -Original

Struts 7 upgrade - looking for the javax.servlet.Filter instead of jakarta.*

2025-07-07 Thread Arsen Milutsa
Hello, Getting the compliance error from the WL's appc. The dependencies were changed to WebLogic version 14c, so was the web-app spec - 5.0. Jakarta's bom was incorporated as well, we took all the references in the code from javax.* to jakarta.* Still getting this error: [ERROR] weblogic.servlet

Re: issue with iframe when upgrading from struts 2.3 to struts 7

2025-06-19 Thread Dave Newton
On Thu, Jun 19, 2025 at 13:54 Priyanka Vaddadi wrote: > But when we enter username and password, nothing is happening. When we > click on submit, the page did not navigate further and just clearing the > username and password and stay on same login page.. Is the request being made? Check the JS

issue with iframe when upgrading from struts 2.3 to struts 7

2025-06-19 Thread Priyanka Vaddadi
Hi In our application when we click on one of the link, then it will load other application in iframe within my application. Then we have to enter username and password in that loaded application. After migrating from struts 2.3 to struts 7 The application is loaded in iframe and showing us

Re: struts-tag property in javascript

2025-06-10 Thread Dave Newton
On Tue, Jun 10, 2025 at 13:37 Lukasz Lenart wrote: > Nope, basically ${} means "use JSP EL" which is prohibited "inside" S2 > tags, using %{} means "use OGNL expression" which is fine. Oops, forgot about that smh d

Re: struts-tag property in javascript

2025-06-10 Thread Lukasz Lenart
wt., 10 cze 2025 o 18:23 Ute Kaiser napisał(a): > > Update after more investigating Nate's answer: > > onclick="document.getElementById('deleteid').value='%{id}';"> > > Using ${id} threw an error (I suppose my config not fit for JSP EL) Nope, basically ${} means "use JSP EL" which is prohibited

RE: struts-tag property in javascript

2025-06-10 Thread Ute Kaiser
Update after more investigating Nate's answer: Using ${id} threw an error (I suppose my config not fit for JSP EL) Best regards Ute - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Aw: RE: struts-tag property in javascript

2025-06-06 Thread Ute Kaiser
Hi and thx for your fast answers. I am aware that migration could go much deeper in cleaning up but rewriting the action und jsp files is fissel work enough at the moment. Dave's answer "But you should be able use standard JSP EL iirc." inspired me. First I did not understand (never used EL), th

RE: struts-tag property in javascript

2025-06-06 Thread Nate Kerkhofs
Hi Ute, I would recommend you split up your JavaScript into separate files as well, but if you ABSOLUTELY have to write a property value inside a Struts tag, the best way to do that is probably through an OGNL or JSTL expression. In your case, you can replace the s:property tag inside the

Re: struts-tag property in javascript

2025-06-06 Thread Dave Newton
On Fri, Jun 6, 2025 at 09:14 Ute Kaiser wrote: > Hi, > migrating from Struts1 I encounter in a jsp the error "Equal symbol > expected" at the "onclick" row. > I think my old quotes do not work any more with Struts2. > > Struts1: > > > onclick="javascript:if(confirmDelete()){document.getElemen

struts-tag property in javascript

2025-06-06 Thread Ute Kaiser
Hi, migrating from Struts1 I encounter in a jsp the error "Equal symbol expected" at the "onclick" row. I think my old quotes do not work any more with Struts2. Struts1: ';}"/> Struts2: ';}"/> I tried 'id', \"id\", \'id\' "id" but nothing worked out Any advice appreciated (hopefully not

Re: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-06-03 Thread Jesus Moreno
100% of the issues resolved. We just need to fix the file upload problem. We will keep investigating—perhaps we should try the same approach but with an older version of Struts. JMC El mar, 3 jun 2025 a las 19:14, Zoran Avtarovski () escribió: > Thanks for that. > > It doesn't look

Re: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-06-03 Thread Zoran Avtarovski
e/xml/ns/jakartaee/web-app_6_0.xsd"; version="6.0"> Struts Blank log4jConfiguration /WEB-INF/classes/log4j2.xml struts2 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter s

Re: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-06-03 Thread Jesus Moreno
Sure, my web.xml looks like this: https://jakarta.ee/xml/ns/jakartaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"; versio

Re: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-06-03 Thread Jesus Moreno
Sure, my web.xml looks like this: https://jakarta.ee/xml/ns/jakartaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"; versio

Re: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-06-02 Thread Zoran Avtarovski
Hi Jesus, What does your web.xml look like with regards to the struts filters? We had a similar issue which was resolved by moving to the combined StrutsPrepareAndExecuteFilter. Sitemesh also played a part in our issue, but I think by what you are seeing it's worth trying. Z. On 1/6/2

Re: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-31 Thread Jesus Moreno
Hi Lukasz, thanks for your appreciated comments. I would like to explain in more detail what we have done to try to find the problem and solve it. Here the context: This is my environment: - Struts Version: 7.0.3 - Java Version: 17 - Servlet Container: Apache Tomcat 10.1.36 - Key Dependencies

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Lukasz Lenart
czw., 29 maj 2025 o 05:24 Priyanka Vaddadi napisał(a): > when I replace > <#if parameters.nameValue??> > value="<@s.property value="parameters.nameValue"/>"<#rt/> > with > > <#if attributes.name??> > value="<@s.property value="%{attributes.name}"/>"<#rt/> > Why do you replace "nameValue" with "

RE: Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
ame displayed in text box but not parameter value Please help me with this Thank and Regards Priyanka From: Priyanka Vaddadi Sent: Wednesday, May 28, 2025 6:55 AM To: user@struts.apache.org Subject: RE: Struts 7.0 issue with Ftl Hi When I change below code <#if parameters.disabled?string?

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Dave Newton
On Wed, May 28, 2025 at 09:58 Priyanka Vaddadi wrote: The following has evaluated to null or missing: ==> attributes.disabled [in template "template/wam/text.ftl" at line 51, column 6] If the app has its own theme/templates/etc they may need updating. * https://struts.apache.org/getting-star

RE: Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
uot;<#rt/> I am getting parameter name displayed in text box but not parameter value Please help me with this Thanks and Regards Priyanka From: Priyanka Vaddadi Sent: Tuesday, May 27, 2025 10:54 PM To: user@struts.apache.org Subject: Struts 7.0 issue with Ftl Hi I am getting below erro

Re: Struts 7.0 issue with Ftl

2025-05-28 Thread Lukasz Lenart
śr., 28 maj 2025 o 12:25 Priyanka Vaddadi napisał(a): > > Hi > > I am getting below error while loading the page after migrating to struts 7 > Pleaselet me know what could be the issue > > > Template inclusion failed (for parameter value > "/Empty{name=&#

Struts 7.0 issue with Ftl

2025-05-28 Thread Priyanka Vaddadi
Hi I am getting below error while loading the page after migrating to struts 7 Pleaselet me know what could be the issue Template inclusion failed (for parameter value "/Empty{name='templateDir'}/simple/checkbox.ftl"): Template not found for name "Empty{name='tem

RE: Help with jsp/iframe Struts 7

2025-05-22 Thread Nate Kerkhofs
suggest you contact your internal legal counsel regarding this matter. Regards, Nate -Original Message- From: Deborah White Sent: Wednesday, 21 May 2025 18:49 To: Struts Users Mailing List Subject: RE: Help with jsp/iframe Struts 7 Actually, never mind. It is working, just extremely slow

RE: Help with jsp/iframe Struts 7

2025-05-21 Thread Deborah White
Actually, never mind. It is working, just extremely slow. We do have another case that we have an issue with though. My colleague will post. -Original Message- From: Deborah White Sent: Wednesday, May 21, 2025 9:40 AM To: Struts Users Mailing List Subject: Help with jsp/iframe Struts

Help with jsp/iframe Struts 7

2025-05-21 Thread Deborah White
Hello, migrated from 2.3 to 7. I am now having an issue with what appears to be iframe. My jsp code is below and I don't receive any errors but the preview doesn't display. Wondering if anyone has any ideas. <%@taglib uri="/struts-tags" prefix="s" %>

Re: error while uploading file using struts 7

2025-05-19 Thread Lukasz Lenart
th data with struts 2.3. Please let me know > what is the problem here with struts 7 > private File documentImage; The problem is that your action must implement UploadedFilesAware interface to support upload https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/s

error while uploading file using struts 7

2025-05-19 Thread Priyanka Vaddadi
Hi We are facing issue while uploading file with struts 7.0.0/ By using below code we are attaching the file on UI

Re: Struts 7 issue while posting the data

2025-05-16 Thread Dave Newton
m getting one more error while downloading file > It was working fine in struts 2.3. now while migrating to struts 7, below > code in struts.xml is not working > > > >

RE: Struts 7 issue while posting the data

2025-05-16 Thread Priyanka Vaddadi
Hi Thanks for that. When I annotate over getter method it worked for me. But I am getting one more error while downloading file It was working fine in struts 2.3. now while migrating to struts 7, below code in struts.xml is not working

Re: Struts 7 issue while posting the data

2025-05-16 Thread Prasanth
See https://struts.apache.org/security/#defining-and-annotating-your-action-parameters On 5/16/25 4:34 PM, Dave Newton wrote: On Fri, May 16, 2025 at 17:24 Priyanka Vaddadi wrote: Parameter injection for method [getSupplierMgmtSearchData] on Action [gov.ca.doj.ems.action.CgSupplierMgmtSearch

Re: Struts 7 issue while posting the data

2025-05-16 Thread Dave Newton
On Fri, May 16, 2025 at 17:24 Priyanka Vaddadi wrote: > Parameter injection for method [getSupplierMgmtSearchData] on Action > [gov.ca.doj.ems.action.CgSupplierMgmtSearchAction] rejected. Ensure it is > annotated with @StrutsParameter with an appropriate 'depth'. Is it? The previous snippet sho

RE: Struts 7 issue while posting the data

2025-05-16 Thread Priyanka Vaddadi
with an appropriate 'depth'. Thanks and Regards Priyanka From: Priyanka Vaddadi Sent: Friday, May 16, 2025 11:51 AM To: user@struts.apache.org Subject: RE: Struts 7 issue while posting the data Hi I tried using depth = 1 as below public final class CgSupplierMgmtSearchAction e

Re: Struts 7 issue while posting the data

2025-05-16 Thread Prasanth
archAction] rejected. Ensure it is annotated with @StrutsParameter with an appropriate 'depth'. Thanks and Regards Priyanka From: Priyanka Vaddadi Sent: Thursday, May 15, 2025 12:50 PM To:user@struts.apache.org Subject: Struts 7 issue while posting the data Hi We are migrating from

RE: Struts 7 issue while posting the data

2025-05-16 Thread Priyanka Vaddadi
sure it is annotated with @StrutsParameter with an appropriate 'depth'. Thanks and Regards Priyanka From: Priyanka Vaddadi Sent: Thursday, May 15, 2025 12:50 PM To: user@struts.apache.org Subject: Struts 7 issue while posting the data Hi We are migrating from struts 2.3 to struts 7.

Re: Struts 7 issue while posting the data

2025-05-15 Thread Prasanth
, Priyanka Vaddadi wrote: Hi We are migrating from struts 2.3 to struts 7.0.0 As part of this migration I am facing below issue There is a action class in my project in which we defined SupplierSearchData variable as below public final class CgSupplierMgmtSearchAction extends EmsWebAction implements

Struts 7 issue while posting the data

2025-05-15 Thread Priyanka Vaddadi
Hi We are migrating from struts 2.3 to struts 7.0.0 As part of this migration I am facing below issue There is a action class in my project in which we defined SupplierSearchData variable as below public final class CgSupplierMgmtSearchAction extends EmsWebAction implements ValidationAware

Re: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-13 Thread Lukasz Lenart
sob., 10 maj 2025 o 07:09 Jesus Moreno napisał(a): > 2025-05-09 01:00:25 WARN File:79 - Struts has detected a file upload UI tag > (s:file) being used without a form set to method 'POST' > (Despite being > correctly declared) This can be related to cached JSP files, pleas

Re: Re: Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread Jesus Moreno
, ut...@web.de.invalid, wrote: > My configuration: > Wildfly 33 > Eclipse as IDE > > I suppose you have already Struts DevMode. > Sometimes a warning gives me a hint. > > Gesendet mit der mobilen Mail App > > Am 12.05.25 um 18:24 schrieb Jesus Moreno > > > Thanks

Re: Re: Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread utkai
My configuration: Wildfly 33 Eclipse as IDE I suppose you have already Struts DevMode. Sometimes a warning gives me a hint. Gesendet mit der mobilen Mail App Am 12.05.25 um 18:24 schrieb Jesus Moreno > Thanks to clarifying my question. > > I am thinking that the problem

Re: Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread Jesus Moreno
at 8:43:31 AM -0600, Ute Kaiser , wrote: > I am also sorry because I can not see the difference why my upload is working > and yours is not. > > Best regards > Ute > > > Gesendet: Samstag, 10. Mai 2025 um 18:45 > > Von: "Jesus Moreno" > > An: user

Aw: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-12 Thread Ute Kaiser
I am also sorry because I can not see the difference why my upload is working and yours is not. Best regards Ute > Gesendet: Samstag, 10. Mai 2025 um 18:45 > Von: "Jesus Moreno" > An: user@struts.apache.org, "Struts Users Mailing List" > > Betreff: Re: Aw:

Aw: RE: Struts 7 problem

2025-05-12 Thread Ute Kaiser
case seems to be different (MY or My). Best regards Ute Gesendet: Freitag, 9. Mai 2025 um 23:59 Von: "Deborah White" An: "Struts Users Mailing List" Betreff: RE: Struts 7 problem And another one is: I tried adding which did not work. I am not seeing correct screens based on

Aw: RE: Struts 7 problem

2025-05-12 Thread Ute Kaiser
Maybe it helps: I could see: Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest Struts7 uses jakarta, not javax Mit freundlichen Grüßen Ute Kaiser Gesendet: Freitag, 9. Mai 2025 um 23:54 Von: "Deborah White" An: "Struts Users Mailing List" B

Re: Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-10 Thread Jesus Moreno
t; > I tried the same last week for the first time, and here is my experience: > 1. > WARN [org.apache.struts2.components.File] (default task-5) Struts has > detected a file upload UI tag (s:file) being used without a form set to > method 'POST'. This is probably an error

Aw: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-10 Thread Ute Kaiser
Hi, I tried the same last week for the first time, and here is my experience: 1. WARN [org.apache.struts2.components.File] (default task-5) Struts has detected a file upload UI tag (s:file) being used without a form set to method 'POST'. This is probably an error! I used and it wa

Aw: Re: Struts 7 problem

2025-05-10 Thread Wolfgang Knauf
gov.ca.doj.sotas.databean.UserData.userFirstName] is blocked! Does this field also have getters/setters? If yes: maybe a setter has to be annotated with "@StrutsParameter" so that Struts can set it: @StrutsParameter public void setUserFirstName(...) { this.userFirstName = ...; } See https://struts.

File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware Implementation Issue

2025-05-09 Thread Jesus Moreno
I'm migrating an application from Struts 2.5 to 7.0.3 and encountering persistent issues with file upload functionality despite following the documentation. The UploadedFile object remains null in my action class, even with: - Correct UploadedFilesAware implementation - Proper multipart

Re: Struts 7 problem

2025-05-09 Thread Dave Newton
am_Manager") || > #request["MYUtils"].isUserInRole("Audit_Supervisor") || > #request["MYUtils"].isUserInRole("Audit_Staff") || > #request["MYUtils"].isUserInRole("Level_1_Processor") || > #request["MYUtils"].isUs

Re: Struts 7 problem

2025-05-09 Thread Prasanth
set the devMode to true and check the logs. You should be able to see which classes are accessed and if you have to add them to the struts allowlist. Thanks, Prasanth On 5/9/25 4:59 PM, Deborah White wrote: And another one is: I tried adding which did not work. I am not seeing correct

RE: Struts 7 problem

2025-05-09 Thread Deborah White
sses' or 'struts.allowlist.packageNames' configuration. 14:56:11,308 WARN [org.apache.struts2.ognl.SecurityMemberAccess] (default task-1) Declaring class [class gov.ca.doj.sotas.databean.UserData] of member type [public int gov.ca.doj.sotas.databean.UserData.getPwdDaysToExp()] is not allowlisted!

RE: Struts 7 problem

2025-05-09 Thread Deborah White
iser Sent: Friday, May 9, 2025 2:50 PM To: user@struts.apache.org Subject: Re: Struts 7 problem EXTERNAL EMAIL: This message was sent from outside DOJ. Please do not click links or open attachments that appear suspicious. Security<https://urldefense.proofpoint.com/v

Re: Struts 7 problem

2025-05-09 Thread Ute Kaiser
th: #request["MYUtils"].isUserInRole("Program_Manager") || #request["MYUtils"].isUserInRole("Audit_Supervisor") || #request["MYUtils"].isUserInRole("Audit_Staff") || #request["MYUtils"].isUserInRole("Level_1_Processor") || #request[&

RE: Struts 7 problem

2025-05-09 Thread Deborah White
quot;MYUtils"].isUserInRole("Audit_Staff") || #request["MYUtils"].isUserInRole("Level_1_Processor") || #request["MYUtils"].isUserInRole("Level_2_Processor") || #request["MYUtils"].isUserInRole("Level_3_Process

Re: Struts 7 problem

2025-05-09 Thread Wolfgang Knauf
Hi Deborah, could be a matter of casing - the attribute is "escapeHtml": https://struts.apache.org/tag-developers/property-tag.html Does this help? Wolfgang Am 09.05.25 um 20:15 schrieb Deborah White: I am getting this error after migrating to Struts 7.0.0. JBWEB004251: An erro

Struts 7 problem

2025-05-09 Thread Deborah White
I am getting this error after migrating to Struts 7.0.0. JBWEB004251: An error occurred at line: 5 column: 57) JBWEB004197: Attribute escape invalid for tag property according to TLD I have found maybe related to this "? I tried changing to escapeHTML but that didn't seem to work.

Re: Request for Assistance with OWASP ZAP Vulnerabilities in Struts-Based Java Web Application

2025-04-20 Thread Shivam Agrahari
pls share with me if any demo available. On Wed, Apr 16, 2025 at 5:37 PM Nate Kerkhofs wrote: > Hi, > > > > Note that Struts 7 has a built-in CSP header interceptor that also has > support for cryptographic nonces in JavaScript tags. They may have > interceptors for these

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread Wolfgang Knauf
he s:form tag declares that it accepts dynamic attributes but does not implement the required interface <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> JSP Page

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
t; > > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) > > > at > > > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) > > > at > > > > > > org.apache.cat

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread M Huzaifah
g.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) > > at > > org.apache.tomcat.util.net > .NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) > > at > > org.apache.tomcat.util.net > .SocketProcessorBase.run(SocketProcessorBase

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) > at java.base/java.lang.Thread.run(Thread.java:1583) > > On Thu, Apr 17, 2025 at 12:04 PM shankar sawate < > sawa

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
ation on Tomcat 10.0.20. > The issue occurs when I try to run the web application from within the IDE. > > NetBeans shows the following error when the issue occurs: > > The s:form tag declares that it accepts dynamic attributes but does not > implement the requ

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread shankar sawate
at it accepts dynamic attributes but does not implement the required interface <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> JSP Page Hello World!

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread Lukasz Lenart
wt., 15 kwi 2025 o 09:57 shankar sawate napisał(a): > While migrating to Struts 7.0.0, I'm encountering an issue when using the > tag. Even though the tag is present like this > > jsp > <%%> > I’m getting the following warning or error: > > The s:form t

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread shankar sawate
Please help us in this issue On Wed, 16 Apr, 2025, 10:17 pm Tellis, Wyatt, wrote: > I see similar warnings when using NetBeans to edit JSPs that contain > Struts tags. However, these JSPs seem to compile just fine. Does anyone > know what causes these warning messages?

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread Tellis, Wyatt
I see similar warnings when using NetBeans to edit JSPs that contain Struts tags. However, these JSPs seem to compile just fine. Does anyone know what causes these warning messages? Wyatt From: shankar sawate Sent: Monday, April 14, 2025 11:39 PM To: user

RE: Request for Assistance with OWASP ZAP Vulnerabilities in Struts-Based Java Web Application

2025-04-16 Thread Nate Kerkhofs
Hi, Note that Struts 7 has a built-in CSP header interceptor that also has support for cryptographic nonces in JavaScript tags. They may have interceptors for these other missing headers as well, but I’m not sure. More information can be found in the documentation. Regards, Nate From

Re: Request for Assistance with OWASP ZAP Vulnerabilities in Struts-Based Java Web Application

2025-04-16 Thread Shivam Agrahari
"Content-Security-Policy", "default-src 'self'; img-src 'self'; frame-src 'self'; connect-src 'self'; frame-ancestors 'self'; font-src 'self'; base-uri 'self'; form-actio

Re: Request for Assistance with OWASP ZAP Vulnerabilities in Struts-Based Java Web Application

2025-04-16 Thread Lukasz Lenart
śr., 16 kwi 2025 o 07:30 Shivam Agrahari napisał(a): > Could you please advise on how to resolve these issues? For your reference, I > have attached the WAR file of the test project along with a few relevant > pages. The best option is to read through OWASP recommendations PDFs and apply them o

Re: Request for Assistance with OWASP ZAP Vulnerabilities in Struts-Based Java Web Application

2025-04-16 Thread Dave Newton
; > I am currently developing a Java web application using the Struts 7.0.3 > framework, JDK 23, and Tomcat 11.0.5, with a Dynamic Web Module version > 6.1. Although the application is intended for an intranet environment, VA > (Vulnerability Assessment) clearance is still required. > >

Request for Assistance with OWASP ZAP Vulnerabilities in Struts-Based Java Web Application

2025-04-15 Thread Shivam Agrahari
Hi, I am currently developing a Java web application using the Struts 7.0.3 framework, JDK 23, and Tomcat 11.0.5, with a Dynamic Web Module version 6.1. Although the application is intended for an intranet environment, VA (Vulnerability Assessment) clearance is still required. To address

Issue in Struts 7.0.0 with tag

2025-04-15 Thread shankar sawate
Hi, While migrating to Struts 7.0.0, I'm encountering an issue when using the tag. Even though the tag is present like this jsp <%%> I’m getting the following warning or error: The s:form tag declares that it accepts dynamic attributes but does not implement the required interface <%%> <%%> <%%> <%%> <%%> <%-- --%> <%-- --%> <%%> <%%> <%-- --%> <%-- --%> <%%> <%-- --%> <%%> <%-- --%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%>

Re: Questions about migrating to Struts 7.0

2025-04-03 Thread Lukasz Lenart
czw., 3 kwi 2025 o 12:24 Shivam Agrahari napisał(a): > I have enabled dev mode and also log level to debug but there is no error > being displayed. Hard to guess with having no information from your side. Could you post your action with annotation on setters? Regards Łukasz ---

Re: Questions about migrating to Struts 7.0

2025-04-03 Thread Shivam Agrahari
Hi, I have enabled dev mode and also log level to debug but there is no error being displayed. Regards, Shivam On Wed, Apr 2, 2025 at 4:29 PM Lukasz Lenart wrote: > śr., 2 kwi 2025 o 12:29 Shivam Agrahari > napisał(a): > > I am in the process of upgrading a Java application from

Re: Questions about migrating to Struts 7.0

2025-04-02 Thread Lukasz Lenart
śr., 2 kwi 2025 o 12:29 Shivam Agrahari napisał(a): > I am in the process of upgrading a Java application from Struts 6.7.4 to > Struts 7.0.3. I've made the necessary changes as per the migration guide, > such as updating javax to jakarta. However, when I submit the user ID and &g

Re: Questions about migrating to Struts 7.0

2025-04-02 Thread Shivam Agrahari
Hi, I am in the process of upgrading a Java application from Struts 6.7.4 to Struts 7.0.3. I've made the necessary changes as per the migration guide, such as updating javax to jakarta. However, when I submit the user ID and password, they are not being accessed in the action class. Additio

Re: Issue with ServletActionContext.getRequest() returning null in JSP (Struts 7)

2025-03-31 Thread Lukasz Lenart
śr., 26 mar 2025 o 09:38 Lidin NT napisał(a): > Why is ServletActionContext.getRequest() returning null in JSP? Calling JSPs directly is a Bad Idea https://struts.apache.org/security/#never-expose-jsp-files-directly And calling JSPs directly means you skip the whole Action related machinery, wit

Re: Issue with ServletActionContext.getRequest() returning null in JSP (Struts 7)

2025-03-26 Thread Wolfgang Knauf
Hi, how do you invoke the jsp? I had a (maybe) similar issue and learned that I cannot invoke JSPs directly (by browsing to the jsp url), but have to call an ".action" url instead. Best regards Wolfgang Am 26.03.25 um 09:37 schrieb Lidin NT: Hi all, I'm working on a Strut

Issue with ServletActionContext.getRequest() returning null in JSP (Struts 7)

2025-03-26 Thread Lidin NT
Hi all, I'm working on a Struts 7 application and facing an issue where userViewUtil is showing an empty value in JSP. Setup: I'm using and to create and set values in JSP: When I try to display the values, they are empty: Code Details: UserViewUtilWra

Re: Questions about migrating to Struts 7.0

2025-03-11 Thread Lukasz Lenart
VALUE for a given setter (once defined for setter, there is no need to define another for getter) https://github.com/apache/struts-examples/blob/main/type-conversion/src/main/java/org/apache/struts/example/ThemeAction.java#L47-L57 > Another question I have: do s:url tags automatically handle th

Re: Questions about migrating to Struts 7.0

2025-03-11 Thread Prasanth
rieb Nate Kerkhofs: Hi, I'm analyzing the security changes for a migration from Struts 6.3 to Struts 7.0. One thing I'm wondering about is the StrutsParameter annotation that now needs to be added to all getters and setters that need to be accessed from the OGNL context. We have a numb

Re: Questions about migrating to Struts 7.0

2025-03-11 Thread Wolfgang Knauf
oJo getPojo() { ... } I don't know wether there is a depth value "unlimited". The "s:url" question has to be answered by someone else ;-) Best regards Wolfgang Am 11.03.25 um 16:09 schrieb Nate Kerkhofs: Hi, I'm analyzing the security changes for a migration fr

Questions about migrating to Struts 7.0

2025-03-11 Thread Nate Kerkhofs
Hi, I'm analyzing the security changes for a migration from Struts 6.3 to Struts 7.0. One thing I'm wondering about is the StrutsParameter annotation that now needs to be added to all getters and setters that need to be accessed from the OGNL context. We have a number of Actions whe

Re: Migrating from Struts 2.13.x to 7.0.3 with custom taglib issue

2025-03-06 Thread 楊茗閏
Hi looks like OGNL allowlist capability is indeed the issue Thanks 2025年3月5日(水) 16:43 Lukasz Lenart : > > śr., 5 mar 2025 o 09:12 楊茗閏 napisał(a): > > > > Hi > > I am immigrating Struts from 2.13.x to 7.0.3 for a very old project. > > The project has its own taglib

Re: [ANN] Apache Struts 6.7.4

2025-03-05 Thread Lukasz Lenart
śr., 5 mar 2025 o 18:50 Brunstein, David napisał(a): > > Hi Lukasz, > > The download page only shows the Struts version 7.0.3 > > https://struts.apache.org/download.cgi > > Would you please update the page with Struts 6.7.4? Done https://struts.apache.org/download.cgi#s

RE: [ANN] Apache Struts 6.7.4

2025-03-05 Thread Brunstein, David
Hi Lukasz, The download page only shows the Struts version 7.0.3 https://struts.apache.org/download.cgi Would you please update the page with Struts 6.7.4? Thanks, Davo From: Lukasz Lenart Sent: March 5, 2025 8:12 AM To: Struts Users Mailing List Cc: announceme...@struts.apache.org; annou

[ANN] Apache Struts 6.7.4

2025-03-05 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Apache Struts version 6.7.4 is available as a “General Availability” release. The GA designation is our highest quality grade. The Apache Struts is an elegant, extensible framework for creating enterprise-ready Java web applications. The

Re: Migrating from Struts 2.13.x to 7.0.3 with custom taglib issue

2025-03-05 Thread Lukasz Lenart
śr., 5 mar 2025 o 09:12 楊茗閏 napisał(a): > > Hi > I am immigrating Struts from 2.13.x to 7.0.3 for a very old project. > The project has its own taglib following the Struts style and uses > Freemarker for the template. > However, I am not able to get ${attributes} in the freema

Migrating from Struts 2.13.x to 7.0.3 with custom taglib issue

2025-03-05 Thread 楊茗閏
Hi I am immigrating Struts from 2.13.x to 7.0.3 for a very old project. The project has its own taglib following the Struts style and uses Freemarker for the template. However, I am not able to get ${attributes} in the freemarker template. I have not changed the structure of my taglib class and

[ANN] Apache Struts 7.0.3

2025-03-03 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Apache Struts version 7.0.3 is available as a “General Availability” release. The GA designation is our highest quality grade. The Apache Struts is an elegant, extensible framework for creating enterprise-ready Java web applications. The

Re: Facings issues while migrating from Struts 2.5.x to 6.7

2025-02-13 Thread Mahabir Gupta
Dear Lukasz, Noted with thanks. Regards Mahabir On Fri, Feb 14, 2025 at 12:21 AM Lukasz Lenart wrote: > I would suggest learning Maven and use it to build Struts app > https://struts.apache.org/getting-started/hello-world-using-struts2 > > śr., 12 lut 2025 o 07:46 Lukasz Lenart

Re: Facings issues while migrating from Struts 2.5.x to 6.7

2025-02-13 Thread Lukasz Lenart
I would suggest learning Maven and use it to build Struts app https://struts.apache.org/getting-started/hello-world-using-struts2 śr., 12 lut 2025 o 07:46 Lukasz Lenart napisał(a): > > I just noticed we are polluting this thread with unrelated discussion, > please start a new thread t

Re: Facings issues while migrating from Struts 2.5.x to 6.7

2025-02-11 Thread Lukasz Lenart
I just noticed we are polluting this thread with unrelated discussion, please start a new thread to discuss your problem. śr., 12 lut 2025 o 07:30 Mahabir Gupta napisał(a): > > Dear Lukasz, > > Previously I did not include the xwork-core-2.3.37.jar but added it to > follow the youtube video but n

  1   2   3   4   5   6   7   8   9   10   >