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 the

Re: Issue with Namespace Configuration

2025-06-11 Thread Joseph Huynh
Hi Lukasz, Sorry, it was a false alarm to report Struts2 failed to dispatch in case of duplicate names in the same namespace. I used System.out to monitor the flow and I didn't see what I expected to see and thought it silently failed. I now switch to log4j2 framework and can verify the flow fr

Re: Issue with Namespace Configuration

2025-06-10 Thread Lukasz Lenart
śr., 11 cze 2025 o 00:59 Joseph Huynh napisał(a): > > Hi Lukasz, > I just figured out that I had bundled struts.xml in wrong place in WEB-INF/ > instead of in WEB-INF/classes/. It is dispatching correctly now. My > struts.xml is mostly fine except for the duplicate result name in the same > na

Re: Issue with Namespace Configuration

2025-06-10 Thread Joseph Huynh
Hi Lukasz, I just figured out that I had bundled struts.xml in wrong place in WEB-INF/ instead of in WEB-INF/classes/. It is dispatching correctly now. My struts.xml is mostly fine except for the duplicate result name in the same namespace. I think Struts2 fails (silently) to dispatch in this c

Aw: Issue with Namespace Configuration

2025-06-10 Thread Ute Kaiser
Hi Joseph, sorry I can not help with your namespace issues but I would update struts.xml: http://struts.apache.org/dtds/struts-6.0.dtd";> and get rid of xwork-core-2.3.35.jar which is not part of struts 7.0.3 any more. Best regards Ute --

Re: Issue with Namespace Configuration

2025-06-10 Thread Lukasz Lenart
Is there a chance to expose source code of your app on Github? And I would suggest learning how to use Maven to build the app instead of Ant. Cheers Lukasz pt., 6 cze 2025 o 18:49 Joseph Huynh napisał(a): > > Hello, > I have a simple web application to learn how the controller works in Struts

Issue with Namespace Configuration

2025-06-06 Thread Joseph Huynh
Hello, I have a simple web application to learn how the controller works in Struts framework. The build is deployed to Tomcat 11.0.5. The application has two simple JSP files PgStudent.jsp (configured as the welcome page) and PgRegistration.jsp. Each page has two buttons to let user go back and

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

2025-06-03 Thread Jesus Moreno
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 working. > &

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
Provider@287a1ff7], property=miLogo] As comment I changed file name as miLogo because I was trying use a different name like upload. Thanks for the support. JMC El lun, 2 jun 2025 a las 23:44, Zoran Avtarovski () escribió: > Hi Jesus, > > What does your web.xml look like with regards

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
r.info <http://logger.info>(" - Tamaño: " + part.getSize());*} else { logger.info("❌ Parte 'upload' NO encontrada en el request."); } } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ServletExcept

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: ActionFileUploadInterceptor Issue

2025-05-19 Thread Lukasz Lenart
I extended the example and it only works with two filters. If I use one filter it won't work https://github.com/apache/struts-examples/pull/461 Also it works properly only with 7.0.3, the changes introduced in this PR broke the integration https://github.com/apache/struts/pull/1265 and now I'm in

Re: JSP/file upload issue

2025-05-19 Thread Lukasz Lenart
wt., 20 maj 2025 o 00:22 Deborah White napisał(a): > It was never implemented like that where I can see. There is no reference to > interceptor-ref name=fileUpload. Not sure what you mean by that, but the new ActionFileuploadInterceptor has been added in Struts 6.4 and to use it your actions mus

RE: JSP/file upload issue

2025-05-19 Thread Deborah White
It was never implemented like that where I can see. There is no reference to interceptor-ref name=fileUpload. -Original Message- From: Lukasz Lenart Sent: Sunday, May 18, 2025 12:34 AM To: Struts Users Mailing List Subject: Re: JSP/file upload issue EXTERNAL EMAIL: This message was

Re: JSP/file upload issue

2025-05-18 Thread Lukasz Lenart
Did you migrate to the Action based file upload interceptor? https://cwiki.apache.org/confluence/display/WW/Struts+6.x.x+to+7.x.x+migration#Struts6.x.xto7.x.xmigration-Fileupload Support for old FileuploadInterceptor has been removed in Struts 7 also it's related to the security vulnerability http

Re: Struts 7 issue while posting the data

2025-05-16 Thread Dave Newton
ptor.java:92) > > deployment.ems.war//org.apache.struts2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:311) > > deployment.ems.war//org.apache.struts2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265) > > deployment.ems.war//org.apache.struts2.i

RE: Struts 7 issue while posting the data

2025-05-16 Thread Priyanka Vaddadi
.intercept(ActionFileUploadInterceptor.java:151) deployment.ems.war//org.apache.struts2.DefaultActionInvocation.executeCondition From: Priyanka Vaddadi Sent: Friday, May 16, 2025 1:48 PM To: user@struts.apache.org Subject: RE: Struts 7 issue while posting the data Hi Sorry . I attached incorrect

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

JSP/file upload issue

2025-05-16 Thread Deborah White
Hello, migrating from 2.3 to 7.0 and this no longer works. I am not getting the document or the document name. I have this in my jsp page: var options = { target: '#complaintDetailsDiv', beforeSubmit

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: ActionFileUploadInterceptor Issue

2025-05-14 Thread Zoran Avtarovski
Hi Lukasz, We have resolved the issue and I thought I would share our findings. I'd hate to see someone as frustrated as our junior here was. He was quite the angry young man. The issue was the struts filters. Our app was setup using the struts-prepare and struts-execute filters separ

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: ActionFileUploadInterceptor Issue

2025-05-13 Thread Zoran Avtarovski
ptors, mayb the request is wrapped with another proxy? wt., 13 maj 2025 o 01:48 Zoran Avtarovski napisał(a): Hi Guys, We have started migrating our apps to 6.7.4 and have run into an issue with file uploads. We have migrated our actions to use the new ActionFileUploadInterceptor but we are seeing an

Re: ActionFileUploadInterceptor Issue

2025-05-13 Thread Lukasz Lenart
ltiPartRequestWrapper between Dispatcher and > > interceptors, mayb the request is wrapped with another proxy? > > > > wt., 13 maj 2025 o 01:48 Zoran Avtarovski > > napisał(a): > >> Hi Guys, > >> > >> We have started migrating our apps to 6.7.4 and h

Re: ActionFileUploadInterceptor Issue

2025-05-12 Thread Zoran Avtarovski
like something is changing the type of MultiPartRequestWrapper between Dispatcher and interceptors, mayb the request is wrapped with another proxy? wt., 13 maj 2025 o 01:48 Zoran Avtarovski napisał(a): Hi Guys, We have started migrating our apps to 6.7.4 and have run into an issue with file upload

Re: ActionFileUploadInterceptor Issue

2025-05-12 Thread Lukasz Lenart
igrating our apps to 6.7.4 and have run into an issue > with file uploads. We have migrated our actions to use the new > ActionFileUploadInterceptor but we are seeing an issue where the upload > requests are being incorrectly bypassed. > > I have reduced it to a simple example whic

ActionFileUploadInterceptor Issue

2025-05-12 Thread Zoran Avtarovski
Hi Guys, We have started migrating our apps to 6.7.4 and have run into an issue with file uploads. We have migrated our actions to use the new ActionFileUploadInterceptor but we are seeing an issue where the upload requests are being incorrectly bypassed. I have reduced it to a simple

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
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 > options. First I was trying exactly refer to the documentation but I did not > have success. > > 1.

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

2025-05-10 Thread Jesus Moreno
You did not give much info on your jsp. > Here is my part: > > Perhaps you can strip down with less struts.xml configuration to find a > solution to your problem. > Good luck > Ute > > > > Gesendet: Samstag, 10. Mai 2025 um 05:42 > > Von: "Jesus Moreno&quo

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

2025-05-10 Thread Ute Kaiser
o your problem. Good luck Ute > Gesendet: Samstag, 10. Mai 2025 um 05:42 > Von: "Jesus Moreno" > An: user@struts.apache.org > Betreff: File Upload Failure in Struts 7.0.3 Migration - UploadedFilesAware > Implementation Issue > > I'm migrating an application from

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 form conf

Re: Strange issue displaying numbers when in Arabic locale

2025-04-22 Thread Lukasz Lenart
wt., 22 kwi 2025 o 04:35 Zoran Avtarovski napisał(a): > > 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. I18nInt

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
; > pon., 7 kwi 2025 o 01:47 Zoran Avtarovski > napisał(a): > >> Thanks Lukasz, Uti, > >> > >> The issue indeed was how Java treated numbers after Java 8. > >> > >> After a inordinate amount of searching on how to change the solution was >

Re: Strange issue displaying numbers when in Arabic locale

2025-04-21 Thread Zoran Avtarovski
. On 17/4/2025 3:30 pm, Lukasz Lenart wrote: pon., 7 kwi 2025 o 01:47 Zoran Avtarovski napisał(a): Thanks Lukasz, Uti, The issue indeed was how Java treated numbers after Java 8. After a inordinate amount of searching on how to change the solution was to set the locale extension on how to tre

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread Wolfgang Knauf
rectly, instead of invoking an ".action" url? Best regards Wolfgang Am 17.04.25 um 20:46 schrieb shankar sawate: I have also tried using Tomcat 11, but I’m still facing the same issue. Could you please provide a sample code migrated to Jakarta? On Thu, 17 Apr, 2025, 6:25 pm M Hu

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
I have also tried using Tomcat 11, but I’m still facing the same issue. Could you please provide a sample code migrated to Jakarta? On Thu, 17 Apr, 2025, 6:25 pm M Huzaifah, wrote: > Hii Shakar, > > Could you please try to use tomcat 11. > > I faced issue about file upload

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread M Huzaifah
Hii Shakar, Could you please try to use tomcat 11. I faced issue about file upload using tomcat 11. Regards On Thu, Apr 17, 2025, 2:06 PM shankar sawate wrote: > Hi Team, > > If you have any sample code related to Jakarta migration, please share it > with me — it would be re

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
Hi Team, If you have any sample code related to Jakarta migration, please share it with me — it would be really helpful. On Thu, Apr 17, 2025 at 12:30 PM shankar sawate wrote: > And I face this issue after deploying. > > 17-Apr-2025 12:28:09.568 SEVERE [http-nio-80

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
Thank you for your response. I'm using NetBeans 17 as the IDE, with Java 21, and running the application 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 th

Re: Strange issue displaying numbers when in Arabic locale

2025-04-16 Thread Lukasz Lenart
pon., 7 kwi 2025 o 01:47 Zoran Avtarovski napisał(a): > > Thanks Lukasz, Uti, > > The issue indeed was how Java treated numbers after Java 8. > > After a inordinate amount of searching on how to change the solution was > to set the locale extension on how to treat numbers

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
@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

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
Thanks Lukasz, Uti, The issue indeed was how Java treated numbers after Java 8. After a inordinate amount of searching on how to change the solution was to set the locale extension on how to treat numbers. Instead of just creating a Locale using the language code I used a local builder

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 on user request I have imple

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 o

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
ery, with security checks and so on. That's why the context is empty. > How can I fix this issue so that userViewUtil returns the expected value? As already mentioned by Wolfgang, wrap JSP with an action. If you using the Convention plugin it should be as simple as Wolfgang says or you can u

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: 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: 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 freemarker template. > I ha

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 jus

Re: Struts 6.7.0 and JRebel issue

2024-12-09 Thread Lukasz Lenart
wt., 10 gru 2024 o 00:02 David Brunstein napisał(a): > > Hi, > > My Team has found the following issue. > > JRebel no longer seems to work with the latest version of Struts, 6.7.0. > When we try to hit a page in our app, we immediately get the following > erro

Struts 6.7.0 and JRebel issue

2024-12-09 Thread David Brunstein
Hi, My Team has found the following issue. JRebel no longer seems to work with the latest version of Struts, 6.7.0. When we try to hit a page in our app, we immediately get the following error: JRebel: Class 'com.opensymphony.xwork2.ActionContext' could not be pr

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

AW: Struts 6.3 Issue Uploading Files

2024-03-05 Thread Patrick Arnoldy
Hello, we just had a similar issue in our application after migrating to Tomcat 9. This may not be a Struts problem, but a change in how Tomcat treats files since version 9. Please have a look at those links: https://stackoverflow.com/questions/48175852/tomcat9-file-permissions-change https

Re: Struts 6.3 Issue Uploading Files

2024-03-05 Thread Lukasz Lenart
Can you take a look at this PR? Can you test it? https://github.com/apache/struts/pull/892 śr., 6 mar 2024 o 07:51 Lukasz Lenart napisał(a): > > pon., 4 mar 2024 o 00:28 Zoran Avtarovski > napisał(a): > > I tried to raise a ticket to include some logging in the isMultipartRequest > > function

Re: Struts 6.3 Issue Uploading Files

2024-03-05 Thread Lukasz Lenart
pon., 4 mar 2024 o 00:28 Zoran Avtarovski napisał(a): > I tried to raise a ticket to include some logging in the isMultipartRequest > function to record why it failed but I don't have an account anymore. I've created the ticket https://issues.apache.org/jira/browse/WW-5401 Cheers Lukasz -

Re: Struts 6.3 Issue Uploading Files

2024-03-03 Thread Zoran Avtarovski
Thanks Lukasz, I'm not sure that is the issue. I did a simple verification test and added some debugging around the request content type I got the following : Request Content Type: multipart/form-data; boundary=---22500187869113554433768726201 Using default regex s

Re: Struts 6.3 Issue Uploading Files

2024-02-29 Thread Lukasz Lenart
The request must match the following regex [1], more details in the docs [2], yet I notice there is no logging around this logic, feel free to create a ticket to improve that. [1] https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java#L110 [2

Re: Struts 6.3 Issue Uploading Files

2024-02-29 Thread Zoran Avtarovski
Hi Burton, The issue is with a simple HTTP request the file object is null, see the red log entry below. But if I use a simple jQuery ajax call, it works as expected and I’m not sure why and how to rectify. This was the simple code I used to upload the file, same set of interceptors

Re: Struts 6.3 Issue Uploading Files

2024-02-29 Thread Burton Rhodes
ng comes up in the logs. Thanks, Burton -- Original Message -- From "Zoran Avtarovski" To "Struts Users Mailing List" Date 2/28/2024 4:27:48 PM Subject Struts 6.3 Issue Uploading Files Hi Guys, We are unable to upload files to our first 6.3 application using HT

Struts 6.3 Issue Uploading Files

2024-02-28 Thread Zoran Avtarovski
Hi Guys, We are unable to upload files to our first 6.3 application using HTTP requests, but the strange thing is they work with ajax requests. I suspect we are overlooking something in the config which is required in 6.3. We are using 6.3.0.2 running on Tomcat 9. The file object is null

Re: [EXTERNAL] user Digest 27 Feb 2024 14:47:59 -0000 Issue 11063

2024-02-27 Thread Burton Rhodes
ot; ; "user@struts.apache.org" Date 2/27/2024 8:52:16 AM Subject RE: [EXTERNAL] user Digest 27 Feb 2024 14:47:59 - Issue 11063 That URL results in a 404 for me. I don't have a login. But those jiras are available to view without login. This is an equivalent URL that

RE: [EXTERNAL] user Digest 27 Feb 2024 14:47:59 -0000 Issue 11063

2024-02-27 Thread Houser,Leah
ORDER%20BY%20updated%20DESC%2C%20status%20DESC%2C%20issuetype%20DESC -Original Message- From: user-digest-h...@struts.apache.org Sent: Tuesday, February 27, 2024 9:48 AM To: user@struts.apache.org Subject: [EXTERNAL] user Digest 27 Feb 2024 14:47:59 - Issue 11063 [You don't often get

Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-31 Thread Lukasz Lenart
Damn... my fault :( > I recently upgraded my Struts version from 2.5.22 to 2.5.33 śr., 31 sty 2024 o 16:18 Lukasz Lenart napisał(a): > > śr., 31 sty 2024 o 16:01 Lamia Wertani napisał(a): > > It's unclear why this wasn't necessary in the previous version (2.5.22) > > because everything worked

Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-31 Thread Lukasz Lenart
śr., 31 sty 2024 o 16:01 Lamia Wertani napisał(a): > It's unclear why this wasn't necessary in the previous version (2.5.22) > because everything worked fine without it. So you have migrated from 2.5.22 (not 2.5.32 as in the first message) to 2.5.33 then :D Regards Łukasz ---

RE: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-31 Thread Lamia Wertani
-Message d'origine- De : Lamia Wertani Envoyé : mercredi 31 janvier 2024 15:57 À : Struts Users Mailing List Objet : RE: Velocity tags Issue after Struts upgrade to 2.5.33 Hi, I'm writing to share an update about the redirecting issue we were experiencing with all forms

RE: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-31 Thread Lamia Wertani
Hi, I'm writing to share an update about the redirecting issue we were experiencing with all forms. I have implemented a fix by adding the id attribute to all sform tag. Now, after submitting the form, I'm correctly redirected to the intended interface. While the id attribute i

Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-30 Thread Lukasz Lenart
wt., 30 sty 2024 o 10:01 Lamia Wertani napisał(a): > > response: {"messages":["Group Test successfully added"],"result":"success"} > > The same response is displayed on a blank page. But this is JSON so I have no idea how does it relate to Velocity - I would assume you have a problem with JS on

RE: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-30 Thread Lamia Wertani
response: {"messages":["Group Test successfully added"],"result":"success"} The same response is displayed on a blank page. De : Lukasz Lenart Envoyé : mardi 30 janvier 2024 09:52 À : Struts Users Mailing List Obje

Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-30 Thread Lukasz Lenart
wt., 30 sty 2024 o 09:09 Lamia Wertani napisał(a): > > Yes, the save works fine. > I have attached a screenshot of the response. Attachments won't pass, only .txt files are allowed Regards Łukasz - To unsubscribe, e-mail: use

RE: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-30 Thread Lamia Wertani
Yes, the save works fine. I have attached a screenshot of the response. De : Lukasz Lenart Envoyé : mardi 30 janvier 2024 07:22 À : Struts Users Mailing List Objet : Re: Velocity tags Issue after Struts upgrade to 2.5.33 pon., 29 sty 2024 o 20:11 Lamia Wertani

Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Lukasz Lenart
pon., 29 sty 2024 o 20:11 Lamia Wertani napisał(a): > > I have attached a file containing the generated HTML. This looks good > > However, instead of redirecting me to the domains list, it leads to a > > blank page displaying the result. If the save works, it means the response from action is b

RE: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Lamia Wertani
I have attached a file containing the generated HTML. De : Łukasz Lenart Envoyé : lundi 29 janvier 2024 16:43 À : Struts Users Mailing List Objet : Re: Velocity tags Issue after Struts upgrade to 2.5.33 Could you post the generated HTML? The only change between

Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Łukasz Lenart
> > > I recently upgraded my Struts version from 2.5.22 to 2.5.33, and I'm > encountering an issue with redirection in popups. > > For example, when I try to save a domain and click on the save button, the > save operation works correctly. > > However, instead of redi

Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Lamia Wertani
Hello, I recently upgraded my Struts version from 2.5.22 to 2.5.33, and I'm encountering an issue with redirection in popups. For example, when I try to save a domain and click on the save button, the save operation works correctly. However, instead of redirecting me to the domains lis

Re: Can I get some help with a file upload issue?

2024-01-27 Thread Lukasz Lenart
It would be better to post the whole tag example plus you action class pon., 22 sty 2024 o 22:31 Doolin, Kyle napisał(a): > name="vfcForm.fileNameDel" "vfcForm" is a field in your action with proper getter, right? "fileNameDel" is a field in the bean "vfcForm", right? If yes, you must h

  1   2   3   4   5   6   7   8   9   10   >