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

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: > &g

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\", \'

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

2025-06-03 Thread Jesus Moreno
Thank you Zoran and I appreciate your assistance, but I believe we are tackling the problem with a very small application, whereas what we actually need is to implement or replace the file upload functionality from version 2.5 to version 7.0.3 in a larger application, where we already have almost

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

2025-06-03 Thread Zoran Avtarovski
Thanks for that. It doesn't look like you have the same issue we did. I wish I could be of more help. I can only suggest start with example app working and then implement your requirements on a step by step basis. In the end that's what helped us identify the issue and get it w

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

2025-06-03 Thread Jesus Moreno
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/2025 6:29 am, Jesus Moreno wrote

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

2025-06-03 Thread Jesus Moreno
rovski () escribió: > 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 s

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

Aw: Re: Setting struts.devMode only in struts.xml?

2025-05-29 Thread Ute Kaiser
Thank you Lukasz, Great advice and great documentation. I guess I need some search machine on the documentation. I edited struts.xml and added the variable to the Eclipse Wildfly Runtime (Tab Environment), and it works fine. Best regards Ute

Re: Setting struts.devMode only in struts.xml?

2025-05-29 Thread Lukasz Lenart
czw., 29 maj 2025 o 11:22 Ute Kaiser napisał(a): > > I face the issue that I have to change my struts.xml any time I want to > deploy from dev environment to test or production environment. > Either struts.devMode value=true or false. This might lead to deploying > devMode to production by accid

Setting struts.devMode only in struts.xml?

2025-05-29 Thread Ute Kaiser
I face the issue that I have to change my struts.xml any time I want to deploy from dev environment to test or production environment. Either struts.devMode value=true or false. This might lead to deploying devMode to production by accident. Is there an alternative place to set devMode more flexi

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, please remove them from the c

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

2025-05-12 Thread Jesus Moreno
urs 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" > > >

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

2025-05-12 Thread utkai
; > > An: user@struts.apache.org, "Struts Users Mailing List" > > > > > > Betreff: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - > > > UploadedFilesAware Implementation Issue > > > > > > Ohh sorry about my current configura

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

2025-05-12 Thread Jesus Moreno
@struts.apache.org, "Struts Users Mailing List" > > > > Betreff: Re: Aw: File Upload Failure in Struts 7.0.3 Migration - > > UploadedFilesAware Implementation Issue > > > > Ohh sorry about my current configuration that I shared but I was trying > > many op

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:

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

2025-05-10 Thread Jesus Moreno
upload a file in the new version because I am migrating an app. Finally I did not understand if you had success to upload a file to the server. It is true? That’s why I ask for your support. I appreciate your assistance. Regards On 10 May 2025 at 2:57:02 AM -0600, Ute Kaiser , wrote: > Hi, &g

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

2025-05-10 Thread Ute Kaiser
s rendered automatically to method=post but to get rid of the warning I had to set it manually 2. MyAction.java looks pretty much the same as your HelloAction.java. But it helped me to use "newLogo" instead of "upload" in jsp and action class. 3. I did not use any of your struts.x

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: NPE in StrutsUploadedFile

2025-05-05 Thread Lukasz Lenart
PR is ready for review https://github.com/apache/struts/pull/1262 wt., 29 kwi 2025 o 19:13 Lukasz Lenart napisał(a): > > wt., 29 kwi 2025 o 14:59 Tamás Barta napisał(a): > > Lukas, could you please fix this bug? > > Sure, please register a ticket :) > > > Cheers > Łukasz ---

Re: NPE in StrutsUploadedFile

2025-04-29 Thread Lukasz Lenart
wt., 29 kwi 2025 o 14:59 Tamás Barta napisał(a): > Lukas, could you please fix this bug? Sure, please register a ticket :) Cheers Łukasz - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-m

Re: NPE in StrutsUploadedFile

2025-04-29 Thread Tamás Barta
] (default task-13179/Yngvbmgw08HwnX2JfPmo9KJy8gPw1-JJxe9bMmoh) I think I found the bug in AbstractFileUploadInterceptor, the related lines: if (file.getContent() == null) { String errMsg = getTextMessage(action, STRUTS_MESSAGES_ERROR_UPLOADING_KEY, new String[]{originalFilename}); errorMess

Re: NPE in StrutsUploadedFile

2025-04-29 Thread M Huzaifah
Hii Tamás, Could you please attach your action class, so all of us in here can see the details. Thank you On Tue, Apr 29, 2025 at 7:00 PM Tamás Barta wrote: > > Hi! > > We use Struts 6.7.4 and today we got the following exception in our > production system. I don't know h

NPE in StrutsUploadedFile

2025-04-29 Thread Tamás Barta
Hi! We use Struts 6.7.4 and today we got the following exception in our production system. I don't know how it is possible or how to reproduce it or how to avoid it. Do you have any ideas? Of course it was a POST with file upload. java.lang.NullPointerException: Cannot i

Re: Strange issue displaying numbers when in Arabic locale

2025-04-22 Thread Lukasz Lenart
2. DefaultLocaleProvider > 3. I18nInterceptor > > It's been working well in our prod environment. Thanks a lot! - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Strange issue displaying numbers when in Arabic locale

2025-04-22 Thread Lukasz Lenart
wt., 22 kwi 2025 o 17:27 shankar sawate napisał(a): > > If you have any sample code using Jakarta, I would really appreciate it if > you could share it with me. It would be very helpful You can find an example code attached to the ticket https://issues.apache.org/jira/browse/WW-5543 Cheers Łuka

Re: Strange issue displaying numbers when in Arabic locale

2025-04-22 Thread shankar sawate
with interceptor params to implement. We made small changes to 3 files: > > 1. LocaleProvider interface > 2. DefaultLocaleProvider > 3. I18nInterceptor > > It's been working well in our prod environment. > > Z. > > On 17/4/2025 3:30 pm, Lukasz Lenart wrote: >

Re: Strange issue displaying numbers when in Arabic locale

2025-04-21 Thread Zoran Avtarovski
Thanks Lukasz, I'll submit a ticket and the fix we finally went with. We ended up going with interceptor params to implement. We made small changes to 3 files: 1. LocaleProvider interface 2. DefaultLocaleProvider 3. I18nInterceptor It's been working well in our prod environment. Z

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
lly helpful. On Thu, Apr 17, 2025 at 12:30 PM shankar sawate < sawateshankar...@gmail.com> wrote: And I face this issue after deploying. 17-Apr-2025 12:28:09.568 SEVERE [http-nio-8083-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in conte

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
Apr 17, 2025 at 12:30 PM shankar sawate < > > sawateshankar...@gmail.com> > > wrote: > > > > > And I face this issue after deploying. > > > > > > 17-Apr-2025 12:28:09.568 SEVERE [http-nio-8083-exec-1] > > > org.apache.catalina.c

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread M Huzaifah
pperValve.invoke Servlet.service() > for > > servlet [jsp] in context with path [/jakartaDemo_war_exploded] threw > > exception [java.lang.NullPointerException: Cannot invoke > > "org.apache.struts2.ActionInvocation.getProxy()" because "invocation" is &

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
83-exec-1] > org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for > servlet [jsp] in context with path [/jakartaDemo_war_exploded] threw > exception [java.lang.NullPointerException: Cannot invoke > "org.apache.struts2.ActionInvocation.getProxy()" because "in

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
And I face this issue after deploying. 17-Apr-2025 12:28:09.568 SEVERE [http-nio-8083-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [/jakartaDemo_war_exploded] threw exception [java.lang.NullPointerException: Cannot invoke

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread shankar sawate
sent 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 > > It would be good to provide more deta

Re: Strange issue displaying numbers when in Arabic locale

2025-04-16 Thread Lukasz Lenart
> This keeps the locale as Arabic/Pashto/etc but forces display of numbers > in Latin form which is what we needed. > > Lukasz, I had a look at your fix and I think by applying the above code > in the I18N Interceptor in Struts 7 you can treat the issue at the > source and numbers a

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread Lukasz Lenart
ag declares that it accepts dynamic attributes but does not > implement the required interface It would be good to provide more details, when does it happen? What Java version do you use? Is this in an IDE or when running a webapp in a container? There are a bunch of examples which are working

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
@struts.apache.org Subject: Issue in Struts 7.0.0 with tag !---| This Message Is From an Untrusted Sender You have not previously corresponded with this sender. |---! Hi

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
Hi, The application is currently showing the following security vulnerabilities: Content security Policy (CSP) Header not set (3 instances)- GET: http://localhost:8080/favicon.ico GET: http://localhost:8080/favicon.test GET: http://localhost:8080/favicon.test\ Missing Anti-clickjackin

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
You neglected to mention what the problems were. em: davelnew...@gmail.com mo: 908-380-8699 gh: davelnewton so: Dave Newton On Wed, Apr 16, 2025 at 01:30 Shivam Agrahari wrote: > Hi, > > I am currently develo

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 security

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: Strange issue displaying numbers when in Arabic locale

2025-04-06 Thread Zoran Avtarovski
extension to set the number units (NU) as such: locale = new Locale.Builder().setLanguage(localeStr).setExtension(Locale.UNICODE_LOCALE_EXTENSION, "nu-latn").build(); This keeps the locale as Arabic/Pashto/etc but forces display of numbers in Latin form which is what we needed. Lukas

Re: Strange issue displaying numbers when in Arabic locale

2025-04-05 Thread Lukasz Lenart
sob., 5 kwi 2025 o 02:47 Zoran Avtarovski napisał(a): > > > > > > This is likely intended behaviour but I would like to know how we stop > it from happening? You can try this https://stackoverflow.com/questions/77250075/struts-2-and-jdk-17-numbers-in-locale Based o

Re: Strange issue displaying numbers when in Arabic locale

2025-04-04 Thread Ute Kaiser
Hi,here the same problem:How to use unsupported Locale in Java 11 and numbers in String.format()stackoverflow.comThere seems to be a solution with the locale extension -u-nu-latnBest regards UteVon meinem iPad gesendetAm 05.04.2025 um 02:22 schrieb Zoran Avtarovski :Hi Guys,We are in the process

Strange issue displaying numbers when in Arabic locale

2025-04-04 Thread Zoran Avtarovski
Hi Guys, We are in the process of updating a number of our applications and servers. The first step is to update from Java 8 to Java 11. We noticed that after we updated that we have seen an unintended change in our apps. Our apps allow people to change locale which we implement through the

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 machin

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

2025-03-26 Thread Wolfgang Knauf
s 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: UserViewUtilWrapper Class: This is the method from UserViewUtilWr

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: Probable bug in Struts 7.0.0

2025-02-01 Thread Lukasz Lenart
nce to be used in the OGNL in a > ServletContext attribute so it is accessible through ValueStack : this a > better practice I hope 😉 Very good idea! Cheers Łukasz - To unsubscribe, e-mail: user-unsubscr...@struts

RE: Probable bug in Struts 7.0.0

2025-01-30 Thread Bibonne Fabrice
This is done for the issue : https://issues.apache.org/jira/browse/WW-5525 As a workaround, I registered the instance to be used in the OGNL in a ServletContext attribute so it is accessible through ValueStack : this a better practice I hope 😉 Cheers Fabrice Bibonne -Message d'or

Re: Probable bug in Struts 7.0.0

2025-01-29 Thread Lukasz Lenart
wt., 28 sty 2025 o 10:39 Bibonne Fabrice napisał(a): > First, thank you very much to all commiters for the new version of Struts > 7.0.0 : it is a great improvement for many apps in my firm. > > I think, there is maybe a bug inside the SecurityMemberAccess : it appears > when an

Probable bug in Struts 7.0.0

2025-01-28 Thread Bibonne Fabrice
Hi everybody, First, thank you very much to all commiters for the new version of Struts 7.0.0 : it is a great improvement for many apps in my firm. I think, there is maybe a bug inside the SecurityMemberAccess : it appears when an ognl expression such as `(new com.mycompany.MyClass()).method

Aw: Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Wolfgang Knauf
Done: https://issues.apache.org/jira/browse/WW-5475 Best regards Wolfgang > Gesendet: Sonntag, 20. Oktober 2024 um 11:17 > Von: "Lukasz Lenart" > An: "Struts Users Mailing List" > Betreff: Re: Struts 7: error when "s:action" is used on jsp pa

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Lukasz Lenart
niedz., 20 paź 2024 o 11:14 Wolfgang Knauf napisał(a): > > OK, I see. Thanks for the clarification. > > Is there any chance to improve the error message or detect this > situation? You wrote that this is a recommendation, and it worked with > the old version. But the exception does not point to an

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Wolfgang Knauf
20.10.24 um 11:02 schrieb Lukasz Lenart: sob., 19 paź 2024 o 15:18 Wolfgang Knauf napisał(a): I have a "index.jsp" and invoke an action using "s:action" tag, then render data from this action. In the browser I navigate to this jsp direcly ("http://localhost/index.jsp

Re: Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-20 Thread Lukasz Lenart
sob., 19 paź 2024 o 15:18 Wolfgang Knauf napisał(a): > I have a "index.jsp" and invoke an action using "s:action" tag, then render > data from this action. In the browser I navigate to this jsp direcly > ("http://localhost/index.jsp"; instead of browsing t

Struts 7: error when "s:action" is used on jsp page and jsp is invoked directly in browser

2024-10-19 Thread Wolfgang Knauf
I have a "index.jsp" and invoke an action using "s:action" tag, then render data from this action. In the browser I navigate to this jsp direcly ("http://localhost/index.jsp"; instead of browsing to ".../i

Re: Help needed for Struts 6.6.0 tagnames in UIBean.java

2024-10-03 Thread Santu Dhua
side a > form . > First time the page is opening perfectly, then I go to next page, and try > to come back by a custom back button( via JS that button modifies > window.location.href to the previous page JSP name) and there it fails with > the exception. In Struts 6.0.0 with jd

Re: Help needed for Struts 6.6.0 tagnames in UIBean.java

2024-10-02 Thread Santu Dhua
window.location.href to the previous page JSP name) and there it fails with the exception. In Struts 6.0.0 with jdk 1.8, this functionality is working fine. *Thanks & Regards* *Santu Dhua* On Thu, Oct 3, 2024 at 1:31 AM Lukasz Lenart wrote: > czw., 3 paź 2024 o 05:41 Santu Dhua na

Re: Help needed for Struts 6.6.0 tagnames in UIBean.java

2024-10-02 Thread Lukasz Lenart
czw., 3 paź 2024 o 05:41 Santu Dhua napisał(a): > Need expert opinion: I am using Struts 6.6.0. While clicking a back button > in my application, I am getting below exception in UIBean.java. I have > added all dependencies needed for Struts 6.6.0, as mentioned in release > versio

Help needed for Struts 6.6.0 tagnames in UIBean.java

2024-10-02 Thread Santu Dhua
Need expert opinion: I am using Struts 6.6.0. While clicking a back button in my application, I am getting below exception in UIBean.java. I have added all dependencies needed for Struts 6.6.0, as mentioned in release version notes. Can anyone help to understand what could cause this.? The page

Re: Tiles errors in Struts versions > 6.3.0.2

2024-10-01 Thread Lukasz Lenart
> 6.3.0.2. > > Exactly the same codebase works fine on previous Struts versions (the > only changes are in the pom file and concern the versions of > struts2-core, struts2-tiles-plugin, struts2-config-browser-plugin and > strutrs2-json-plugin). > > On 6.6.0 the stacktrace h

Tiles errors in Struts versions > 6.3.0.2

2024-10-01 Thread Heikki Hyyrö
Our web application based on Struts 2 + Tiles framework starts to give errors on some jsp pages if I try to use a newer Struts version than 6.3.0.2. Exactly the same codebase works fine on previous Struts versions (the only changes are in the pom file and concern the versions of struts2-core

Re: Tiles errors in Struts versions > 6.3.0.2

2024-10-01 Thread 哈哈哈哈
n than > 6.3.0.2. > > Exactly the same codebase works fine on previous Struts versions (the > only changes are in the pom file and concern the versions of > struts2-core, struts2-tiles-plugin, struts2-config-browser-plugin and > strutrs2-json-plugin). > > On 6.6.0 th

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-05-12 Thread SARAVANAN SIVAGURU
Sure, got you Luk. Thanks for getting back to me. Thanks and Regards, Saravanan.S From: Lukasz Lenart Sent: Monday, May 13, 2024 12:14 PM To: Struts Users Mailing List Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing CAUTION: This

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-05-12 Thread Lukasz Lenart
pon., 29 kwi 2024 o 09:15 SARAVANAN SIVAGURU napisał(a): > I would suggest to align the library version on the struts library as same > as the tomee one. As both are from Apache community we need to have in > alignment to make it work as expected. > This is a bad idea to alig

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-29 Thread SARAVANAN SIVAGURU
Hi Luk I don't think the application dependency version of commons-text is causing the problem. Issue is causing because of the commons-lang3 version which is used within the struts-core-6.4.0 library since the dependency version is not same as the version in the apache tomee - 8.0.1

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-25 Thread Łukasz Lenart
oClassDefFoundError: org/apache/commons/lang3/Range > > In order to run the application with Struts 6.4.0 and 6.5.0-SNAPSHOT we > should align the dependencies with same as the container library version. > If there is any way to instruct the precedence of the library to the > applicat

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-25 Thread SARAVANAN SIVAGURU
: org/apache/commons/lang3/Range In order to run the application with Struts 6.4.0 and 6.5.0-SNAPSHOT we should align the dependencies with same as the container library version. If there is any way to instruct the precedence of the library to the application higher than the container please do let

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-24 Thread SARAVANAN SIVAGURU
Hi Luk Thank you, let me check by taking the PR in my local and keep you posted. Thanks and Regards, Saravanan.S From: Lukasz Lenart Sent: Thursday, April 25, 2024 11:56 AM To: Struts Users Mailing List Subject: Re: WW-5419 - Autoloading of tiles.xml fails in

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-24 Thread Lukasz Lenart
t; Thanks and Regards, > Saravanan.S > > From: SARAVANAN SIVAGURU > Sent: Tuesday, April 23, 2024 6:45 PM > To: Struts Users Mailing List > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | > Testing > > Hi Luk &g

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-24 Thread SARAVANAN SIVAGURU
-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing Hi Luk Please find the attachment for the 6.5 version dependency. Thanks and Regards, Saravanan.S From: SARAVANAN SIVAGURU Sent: Tuesday, April 23, 2024 2:31 PM To: Struts Users Mailing List Subject

RE: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-23 Thread Tellis, Wyatt
It turns out it was an issue with one of the dependency versions. Wyatt -Original Message- From: Lukasz Lenart Sent: Monday, April 22, 2024 9:38 PM To: Struts Users Mailing List Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-23 Thread Łukasz Lenart
Why do you use org.apache.commons:commons-text:1.12.0? With Struts 6.4 you have used org.apache.commons:commons-text:1.11.0 and the same version should be used with Struts 6.5 Regards Lukasz - To unsubscribe, e-mail: user-unsubsc

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-23 Thread SARAVANAN SIVAGURU
Sure, I will do Thanks and Regards, Saravanan.S From: Lukasz Lenart Sent: Tuesday, April 23, 2024 2:29 PM To: Struts Users Mailing List Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing CAUTION: This email originated from outside

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-23 Thread Lukasz Lenart
wt., 23 kwi 2024 o 10:54 SARAVANAN SIVAGURU napisał(a): > Hi Luk > > Somehow I was unable to share the report files as a attachment in html > format. Am attaching the text file, output of the gradle dependencies > command for the my application. > This is for Struts 6.4.0,

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread Lukasz Lenart
pon., 22 kwi 2024 o 22:40 Tellis, Wyatt napisał(a): > We’ve run into this issue as well. Using the workaround of specifying the > location via: > > > > org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG > /WEB-INF/tiles.xml > > > doesn’t work. You can specify all the

RE: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread Tellis, Wyatt
Mailing List Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing Also the very recent change which got merged with 7. 0. 0-M3 SNAPSHOT version had break the code and gave the same error as I mentioned below. Thanks and Regards, Saravanan. S FTMS/NFT APP-DEV Team Mob

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread Lukasz Lenart
Could you run "gradle dependencies" and post the outcome?

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread SARAVANAN SIVAGURU
information. If you have received this e-mail in error, please notify the sender and then immediately delete it from your system. This email and the contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Although Nielsen has taken

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread SARAVANAN SIVAGURU
Hi Luk I have tested by cloning the PR and building in my local and facing the same issue as below mentioned. When I tried with 6.4.0 version also am facing the same issue. Exception javax.servlet.ServletException: Filter execution threw an exception

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread SARAVANAN SIVAGURU
Got it, I will test the PR specifically by cloning in local. Any idea on below issue? When I test with the 7.0.0-M4 version am not facing issue somehow am facing in 6.5-SNAPSHOT version. Thanks and Regards, Saravanan.S FTMS/NFT APP-DEV Team Mob:- +91 9715644123. [cid:b5ded316-c7c5-479c-994d

Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread Lukasz Lenart
This fix wasn't integrated with the SNAPSHOT version yet - it exists only in the PR, if you want to test it you must clone the PR locally and build it. pon., 22 kwi 2024 o 11:08 SARAVANAN SIVAGURU napisał(a): > > Hi Luk > > Faced any issues during the testing of the fix with 6.5

WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | Testing

2024-04-22 Thread SARAVANAN SIVAGURU
Hi Luk Faced any issues during the testing of the fix with 6.5-SNAPSHOT version like below, java.lang.NoSuchMethodError: 'org.apache.commons.lang3.Range org.apache.commons.lang3.Range.of(java.lang.Comparable, java.lang.Comparable)' org.apache.commons.text.translate.NumericEntityEscaper

Participate in the ASF 25th Anniversary Campaign

2024-04-03 Thread Brian Proffitt
Hi everyone, As part of The ASF’s 25th anniversary campaign[1], we will be celebrating projects and communities in multiple ways. We invite all projects and contributors to participate in the following ways: * Individuals - submit your first contribution: https://news.apache.org/foundation

Re: Query regarding printing and closing Jasper reports in Struts2.5

2024-03-20 Thread Tanveer Alaie
ript from printing documents without user interaction. > You won't be able to print pages automatically, you NEED to have the user > confirm they want to print it through the browser print dialog. Those > parameters you pass to the print() function have no effect in modern > browsers. I&

Re: Radio Buttons issue in 6.3.x

2024-03-20 Thread Lukasz Lenart
śr., 20 mar 2024 o 19:45 Nordmeyer, William, E (Serco NA) napisał(a): > > I remember reading a few months back about an issue with radio buttons in > Struts 6.3 and that the issue was going to be resolved in 6.4. > > 2 questions - > 1. is there a bug entry that I can referen

Radio Buttons issue in 6.3.x

2024-03-20 Thread Nordmeyer, William, E (Serco NA)
I remember reading a few months back about an issue with radio buttons in Struts 6.3 and that the issue was going to be resolved in 6.4. 2 questions - 1. is there a bug entry that I can reference and monitor? 2. Is there a timeline for when 6.4 will be released? Will This e-mail and

RE: Query regarding printing and closing Jasper reports in Struts2.5

2024-03-20 Thread Nate Kerkhofs
EED to have the user confirm they want to print it through the browser print dialog. Those parameters you pass to the print() function have no effect in modern browsers. I'd recommend you open the PDF in the browser's PDF handler so the user can choose to click the print button in

Query regarding printing and closing Jasper reports in Struts2.5

2024-03-19 Thread Tanveer Alaie
I am facing an issue with printing and closing Jasper reports in my Struts2 application. Here's a brief overview of the problem: Description: In my Struts2 web application, I have a requirement to generate Jasper reports and provide an option to print them directly from the browser. Additio

Re: Inline handlers and content security policy in struts2 6.3

2024-03-13 Thread Dave Newton
On Wed, Mar 13, 2024 at 10:43 AM Aleksandr Kubar wrote: > I would like to ask whether there is any inbuilt solution from struts2 to > handle inline handlers or maybe something planned to do in next releases? > You mean like something that gathers up all the inline handlers and shovels

  1   2   3   4   5   6   7   8   9   10   >