RE: Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Brunstein, David
Thank you Luckasz! https://struts.apache.org/announce-2024.html Please update the link under the Home > Announcements option. Thanks (again), Davo From: Lukasz Lenart Sent: Monday, April 22, 2024 12:46 PM To: Brunstein, David Cc: Struts Users Mailing List Subject: Re: Struts2 6.

Re: Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Lukasz Lenart
uncements option. > > > > Thanks (again), > > Davo > > > > > > From: Lukasz Lenart > Sent: Monday, April 22, 2024 12:46 PM > To: Brunstein, David > Cc: Struts Users Mailing List > Subject: Re: Struts2 6.4.0 - Announcements 2024 > > > > Hi David

Re: Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Lukasz Lenart
Hi David, pon., 22 kwi 2024 o 19:42 Brunstein, David napisał(a): > > Hi Lukasz, > > Are you planning to publish a new Announcements 2024 for the new Struts2 > version 6.4.0? > The curent page https://struts.apache.org/announce-2023.html Yes, this was already announced https:

Struts2 6.4.0 - Announcements 2024

2024-04-22 Thread Brunstein, David
Hi Lukasz, Are you planning to publish a new Announcements 2024 for the new Struts2 version 6.4.0? The curent page https://struts.apache.org/announce-2023.html Thanks, Davo

Re: Struts2 Validator failing constructor call

2024-04-16 Thread Łukasz Lenart
och, 17. April 2024 07:24 > An: 'Struts Users Mailing List' > Betreff: AW: Struts2 Validator failing constructor call > > Sure. I will try to figure out when it started to fail. > > -Ursprüngliche Nachricht- > Von: Lukasz Lenart > Gesendet: Mittwoch, 17.

AW: Struts2 Validator failing constructor call

2024-04-16 Thread s.goetz
/ff19dfee6f99f1650fc0c2484407d4ed75c2635e -Ursprüngliche Nachricht- Von: s.go...@inform-technology.de Gesendet: Mittwoch, 17. April 2024 07:24 An: 'Struts Users Mailing List' Betreff: AW: Struts2 Validator failing constructor call Sure. I will try to figure out when it start

AW: Struts2 Validator failing constructor call

2024-04-16 Thread s.goetz
Sure. I will try to figure out when it started to fail. -Ursprüngliche Nachricht- Von: Lukasz Lenart Gesendet: Mittwoch, 17. April 2024 06:35 An: Struts Users Mailing List Betreff: Re: Struts2 Validator failing constructor call pt., 12 kwi 2024 o 09:57 napisał(a): > > Our pa

Re: Struts2 Validator failing constructor call

2024-04-16 Thread Lukasz Lenart
pt., 12 kwi 2024 o 09:57 napisał(a): > > Our path was 2.3.4.1 -> 2.3.24.1 -> 2.5.xx (2, 26, 30) -> 6.0.0 -> 6.1.1 -> > 6.1.2.1 -> 6.3.0.2 (but I left out some minor upgrades) > Currently we are in OpenJDK 17. And the problem started with 6.3.0.2? Could you revert to 6.2.0 and check if everything

AW: Struts2 Validator failing constructor call

2024-04-12 Thread s.goetz
icht- Von: Lukasz Lenart Gesendet: Freitag, 12. April 2024 09:07 An: Struts Users Mailing List Betreff: Re: Struts2 Validator failing constructor call pt., 12 kwi 2024 o 08:19 napisał(a): > > Sorry for missing the Struts version. We are on 6.3.0.2 and can't wait to > move on to 7

Re: Struts2 Validator failing constructor call

2024-04-12 Thread Lukasz Lenart
pt., 12 kwi 2024 o 08:19 napisał(a): > > Sorry for missing the Struts version. We are on 6.3.0.2 and can't wait to > move on to 7 along with JDK 21 😊 Did you migrate from 6.2 recently? And what Java version do you use? Cheers Lulasz

AW: Struts2 Validator failing constructor call

2024-04-11 Thread s.goetz
... We are using this a lot throughout the whole software and this used to work in former version. But I cannot tell when it actually broke. -Ursprüngliche Nachricht- Von: Lukasz Lenart Gesendet: Freitag, 12. April 2024 07:55 An: Struts Users Mailing List Betreff: Re: Struts2 Vali

Re: Struts2 Validator failing constructor call

2024-04-11 Thread Lukasz Lenart
czw., 11 kwi 2024 o 17:07 napisał(a): > I have a 10 year old struts2 web application that uses validation with rules > defined in XML files. Do you try to migrate to the latest version? What version do you use? > One of these instantiates a java.util.Date to compare the the value

Struts2 Validator failing constructor call

2024-04-11 Thread s.goetz
Hi group! I have a 10 year old struts2 web application that uses validation with rules defined in XML files. One of these instantiates a java.util.Date to compare the the value of a bean with the current date: ( employee.birthday == null || employee.birthday.before(new

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

Inline handlers and content security policy in struts2 6.3

2024-03-13 Thread Aleksandr Kubar
Hello, I migrate struts2 from version 2.5 to 6.3 and now I have observed lots of Security Content Policy warnings. I found information about new struts "script" and "link" tags and I introduced them in my app, but I still have many warning regarding inline handlers like: onl

Re: Struts2 Intellij Plugin v2023.3.2

2024-01-15 Thread Lukasz Lenart
niedz., 14 sty 2024 o 19:16 Burton Rhodes napisał(a): > > If anyone needs a working version of the Intellij Struts 2 Plugin, I > have updated the plugin to work with latest version of Intellij 2023.3.2 > in my personal fork. > > https://github.com/burtonrhodes/intellij-obsolete-plugins/releases/ta

Struts2 Intellij Plugin v2023.3.2

2024-01-14 Thread Burton Rhodes
If anyone needs a working version of the Intellij Struts 2 Plugin, I have updated the plugin to work with latest version of Intellij 2023.3.2 in my personal fork. https://github.com/burtonrhodes/intellij-obsolete-plugins/releases/tag/v2023.3.2 This is a temporary stop-gap until Apache official

Re: struts2-json-plugin: ExecuteAndWait issue when returning JSON

2023-02-02 Thread Lukasz Lenart
Sorry for a late reply :( pt., 20 sty 2023 o 02:28 Kris O'Neil napisał(a): > > Does it mean you have something else on top of the stack than action? > The original action, held in the background process, is at the top of the > stack. This is the object we want returned when "JSONResult.findRoo

RE: struts2-json-plugin: ExecuteAndWait issue when returning JSON

2023-01-19 Thread Kris O'Neil
Hi Lukasz, > Does it mean you have something else on top of the stack than action? The original action, held in the background process, is at the top of the stack. This is the object we want returned when "JSONResult.findRootObject" is called. The second object in the stack is the action created

Re: struts2-json-plugin: ExecuteAndWait issue when returning JSON

2023-01-19 Thread Lukasz Lenart
czw., 19 sty 2023 o 02:21 Kris O'Neil napisał(a): > Issue: > After upgrading from 2.5.30 to 6.1.1, I found an issue when using the > ExecuteAndWaitInterceptor if the action returns a JSON result. I believe the > issue was introduced in version 6.0.0 on WW-5070. The > JSONResult.findRootObject(.

struts2-json-plugin: ExecuteAndWait issue when returning JSON

2023-01-18 Thread Kris O'Neil
Hi All, Struts version: 6.0.0 - 6.1.1 Issue: After upgrading from 2.5.30 to 6.1.1, I found an issue when using the ExecuteAndWaitInterceptor if the action returns a JSON result. I believe the issue was introduced in version 6.0.0 on WW-5070. The JSONResult.findRootObject(...) method was change

Re: Issue on sj:datepicker tag on Struts2 6.0.x version

2022-11-11 Thread Lukasz Lenart
pt., 11 lis 2022 o 08:33 K M napisał(a): > > Hi, > > It seems i cannot get /struts/js/calendar.gif image when i use > tag. > Would anyone help on this ? Static content is served from /static path (it has changed some time ago), /struts isn't supported to avoid exposing internal info (like you ar

Issue on sj:datepicker tag on Struts2 6.0.x version

2022-11-10 Thread K M
Hi, It seems i cannot get /struts/js/calendar.gif image when i use tag. Would anyone help on this ? Regards, TM - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apac

Re: Can anyone help to run my first' code in struts2

2022-10-14 Thread Hitesh Fulchand Jaiswar
hii sir > > i try your all thing but it's showing 404 Erros i don't know > > > -- > *From:* Hitesh Fulchand Jaiswar > *Sent:* Friday, October 14, 2022 12:09 PM > *To:* Struts Users Mailing List > *Subject:* RE: Can anyone help to ru

Re: Can anyone help to run my first' code in struts2

2022-10-14 Thread Lukasz Lenart
4 Erros i don't know > > > -- > *From:* Hitesh Fulchand Jaiswar > *Sent:* Friday, October 14, 2022 12:09 PM > *To:* Struts Users Mailing List > *Subject:* RE: Can anyone help to run my first' code in struts2 > > Hii sir > > Can you tell

Re: Can anyone help to run my first' code in struts2

2022-10-14 Thread Hitesh Fulchand Jaiswar
n my first' code in struts2 Hii sir Can you tell what that error mean in pom.xml Could not initialize class org.apache.maven.plugin.war.util.WebappStructureSerializer Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows From: Hitesh Fulchand Jaiswar<mailto:hites

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
com> Sent: Friday, October 14, 2022 12:05 PM To: Struts Users Mailing List<mailto:user@struts.apache.org> Subject: RE: Can anyone help to run my first' code in struts2 Hii sir Can you take my any desk number help to understand where I am wrong, because I am very confuses on thi

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
M To: Struts Users Mailing List<mailto:user@struts.apache.org> Subject: Re: Can anyone help to run my first' code in struts2 pt., 14 paź 2022 o 08:24 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir > > > That’s all example is struts1 I need sturts2 example Why do you thin

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
pt., 14 paź 2022 o 08:24 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir > > > That’s all example is struts1 I need sturts2 example Why do you think so? They are using the latest Apache Struts 2 v.6.0.3 https://github.com/apache/struts-examples/blob/master/pom.xml#L44 Cheers Łukasz --

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
ruts.apache.org> Subject: Re: Can anyone help to run my first' code in struts2 pt., 14 paź 2022 o 07:38 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir , > > > Can you send me anyone example code of struts2 for my understanding for me . Here you have a lot of examples [

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
anyone help to run my first' code in struts2 pt., 14 paź 2022 o 07:38 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir , > > > Can you send me anyone example code of struts2 for my understanding for me . Here you have a lot of examples [1], please try this one [2] [1] https:

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
pt., 14 paź 2022 o 07:38 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir , > > > Can you send me anyone example code of struts2 for my understanding for me . Here you have a lot of examples [1], please try this one [2] [1] https://github.com/apache/struts-examples [2] https://gi

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
Hii sir , Can you send me anyone example code of struts2 for my understanding for me . From: Lukasz Lenart Sent: Thursday, October 13, 2022 6:26 PM To: Struts Users Mailing List Subject: Re: Can anyone help to run my first' code in struts2 czw., 13 paź

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
czw., 13 paź 2022 o 14:43 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir , > > > This url I am seeing In my program > http://localhost:8080/Struts2Example/ You are missing support for default namespace "/" and as far as I see you do not have neither [1] defined in your web.xml nor [2] in strut

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
<mailto:user@struts.apache.org> Subject: Re: Can anyone help to run my first' code in struts2 czw., 13 paź 2022 o 14:06 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir > > I just accept user name using login page and after that it will be redirect > on welcome page and

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
czw., 13 paź 2022 o 14:06 Hitesh Fulchand Jaiswar napisał(a): > > Hii sir > > I just accept user name using login page and after that it will be redirect > on welcome page and showing user name +welcome . What url do you see in your browser? Regards -- Łukasz + 48 606 323 122 http://www.lena

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
ber 13, 2022 5:04 PM To: Struts Users Mailing List<mailto:user@struts.apache.org> Subject: Re: Can anyone help to run my first' code in struts2 czw., 13 paź 2022 o 13:28 Hitesh Fulchand Jaiswar < hitesh.jais...@csinfocomm.com> napisał(a): > Hii Lukasz Lenart , > > > &

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
czw., 13 paź 2022 o 13:28 Hitesh Fulchand Jaiswar < hitesh.jais...@csinfocomm.com> napisał(a): > Hii Lukasz Lenart , > > > > It’s showing same errors . if you have any normal project of sturts2 can > you share with me . > > I thing that errors reason is jre and jdk because I ma using 1.8.0 versi

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
.org> Subject: Re: Can anyone help to run my first' code in struts2 czw., 13 paź 2022 o 13:09 Hitesh Fulchand Jaiswar napisał(a): > class="com.hit.user.action"> > name="SUCCESS"&

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
czw., 13 paź 2022 o 13:09 Hitesh Fulchand Jaiswar napisał(a): > class="com.hit.user.action"> > name="SUCCESS">pages/welcome_user.jsp This is wrong, there is no result "SUCCESS", use "success" instead or remove the n

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
2 4:39 PM To: Struts Users Mailing List<mailto:user@struts.apache.org>; lukaszlen...@apache.org<mailto:lukaszlen...@apache.org> Subject: RE: Can anyone help to run my first' code in struts2 Hii Lukasz, Yeah know 404 errors Is your java code is not finding a your code . But I try

RE: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
_2_3.dtd"; > Struts 2 Web Application struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepare

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
czw., 13 paź 2022 o 12:03 Hitesh Fulchand Jaiswar napisał(a): > Can anyone help to run my first' code in struts2 > My code is perfect but it's not working properly i don't know why can you > help me . Error is 404 404 means an http resource was not found (a common http

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
Hii Can anyone help to run my first' code in struts2 My code is perfect but it's not working properly i don't know why can you help me . Error is 404

Re: Can anyone help to run my first' code in struts2

2022-10-13 Thread Lukasz Lenart
czw., 13 paź 2022 o 10:44 Hitesh Fulchand Jaiswar napisał(a): > > Hii > > Can anyone help to run my first' code in struts2 > My code is perfect but it's not working properly i don't know why Sure, but please start a new thread with additional info instead of mi

Can anyone help to run my first' code in struts2

2022-10-13 Thread Hitesh Fulchand Jaiswar
Hii Can anyone help to run my first' code in struts2 My code is perfect but it's not working properly i don't know why HITESH jaiswar On 13-Oct-2022 12:56 pm, Lukasz Lenart wrote: You must only re-implement OpenSessionBackgroundProcess as follow: public class OpenSessionBa

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-28 Thread Matias Rodriguez
hi! issue created: https://github.com/struts-community-plugins/struts2-jquery/issues/316 thanks! El mar, 27 sept 2022 a la(s) 08:07, Lukasz Lenart (lukaszlen...@apache.org) escribió: > wt., 27 wrz 2022 o 12:31 Matias Rodriguez > napisał(a): > > > > Yes, sure, I mean, even tho

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-27 Thread Lukasz Lenart
ady a few issues addressed so this will be a good to know information once a new release pops up [1] https://github.com/struts-community-plugins/struts2-jquery/issues Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ ---

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-27 Thread Matias Rodriguez
t; napisał(a): > > > > But the 6.0.0 version is not using the right DTD, and causes the > exception. > > Remember that I'm using the struts2-jquery-plugin:5.0.0 (latest), and it > > uses the velocity plugin 6.0.0. > > You can override the dependency, if you are using

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-27 Thread Lukasz Lenart
wt., 27 wrz 2022 o 08:35 Matias Rodriguez napisał(a): > > But the 6.0.0 version is not using the right DTD, and causes the exception. > Remember that I'm using the struts2-jquery-plugin:5.0.0 (latest), and it > uses the velocity plugin 6.0.0. You can override the dependency,

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Matias Rodriguez
But the 6.0.0 version is not using the right DTD, and causes the exception. Remember that I'm using the struts2-jquery-plugin:5.0.0 (latest), and it uses the velocity plugin 6.0.0. El mar., 27 de septiembre de 2022 03:22, Lukasz Lenart < lukaszlen...@apache.org> escribió: > wt., 27

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Lukasz Lenart
wt., 27 wrz 2022 o 08:10 Matias Rodriguez napisał(a): > > Thanks Lukasz! I'm using the right one (6.0), but the issue is in the > velocity plugin Are you sure? Version 6.0.3 is using a proper one https://github.com/apache/struts/blob/STRUTS_6_0_3/plugins/velocity/src/main/resources/struts-plugin.

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Matias Rodriguez
oundException: > > http://struts.apache.org/dtds/struts-2.6.dtd > > > > the problem seems to be related to a struts2-jquery-plugin dependency: > > struts2-velocity-plugin:6.0.0, because it tries to use a non-existent DTD > > (404): http://struts.apache.org/dtds/struts-2.6.d

Re: Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Lukasz Lenart
wt., 27 wrz 2022 o 03:52 Matias Rodriguez napisał(a): > Caused by: java.io.FileNotFoundException: > http://struts.apache.org/dtds/struts-2.6.dtd > > the problem seems to be related to a struts2-jquery-plugin dependency: > struts2-velocity-plugin:6.0.0, because it tries to use a n

Struts 6.0.3 + struts2-jquery-plugin 5.0.0 = exception on initialization

2022-09-26 Thread Matias Rodriguez
le to load configuration. ... Caused by: java.io.FileNotFoundException: http://struts.apache.org/dtds/struts-2.6.dtd the problem seems to be related to a struts2-jquery-plugin dependency: struts2-velocity-plugin:6.0.0, because it tries to use a non-existent DTD (404): http://struts.apache.org/dtds/s

Re: Struts 6 issue with struts2-jquery-plugin

2022-09-01 Thread Boris Petrov
e a chance to prepare a small app to reproduce this problem? It would help me debug the problem. Regards Łukasz pon., 29 sie 2022 o 09:52 Boris Petrov napisał(a): Hi all, I updated my Struts version to 6 and struts2-jquery-plugin to 5 (and struts2-bootstrap-plugin to 5 but I don't think tha

Re: Struts 6 issue with struts2-jquery-plugin

2022-08-31 Thread Lukasz Lenart
Hi Boris, Is there a chance to prepare a small app to reproduce this problem? It would help me debug the problem. Regards Łukasz pon., 29 sie 2022 o 09:52 Boris Petrov napisał(a): > > Hi all, > > I updated my Struts version to 6 and struts2-jquery-plugin to 5 (and > struts2-b

Struts 6 issue with struts2-jquery-plugin

2022-08-29 Thread Boris Petrov
Hi all, I updated my Struts version to 6 and struts2-jquery-plugin to 5 (and struts2-bootstrap-plugin to 5 but I don't think that's relevant). I'm having troubles with the `escapeAmp` functionality. The following code:     indicator="loader%{id}"   paren

Re: Struts1 to Struts2 Migration. Missing getOnsubmit() in FormTag

2021-12-11 Thread Lukasz Lenart
pt., 10 gru 2021 o 16:37 Krishnaraj Viswanathan napisał(a): > > Hi, > I am migrating a big project from Struts1 to Struts2. In our struts1 > project, we have extended and customised the > org.apache.struts.taglib.html.FormTag. > > Did some sear

Struts1 to Struts2 Migration. Missing getOnsubmit() in FormTag

2021-12-10 Thread Krishnaraj Viswanathan
Hi, I am migrating a big project from Struts1 to Struts2. In our struts1 project, we have extended and customised the org.apache.struts.taglib.html.FormTag. Did some search and found that the org.apache.struts2.views.jsp.ui.FormTag is the equivalent in Struts2. My

Re: TilesPlugin of Struts2 is not loaded in existing Struts1 project

2020-09-09 Thread Natta Wang
on migrating Struts1 to Struts2 and one of component is > > TilesPlugin of Struts1 version. I've read the instruction of Struts2 > > tiles-pluing implementation and follow those steps, but found it is not > > loaded the configure as I expected. > > > > Question

Re: TilesPlugin of Struts2 is not loaded in existing Struts1 project

2020-09-06 Thread Lukasz Lenart
śr., 2 wrz 2020 o 12:33 Natta Wang napisał(a): > > I'm doing on migrating Struts1 to Struts2 and one of component is TilesPlugin > of Struts1 version. I've read the instruction of Struts2 tiles-pluing > implementation and follow those steps, but found it is not loaded

TilesPlugin of Struts2 is not loaded in existing Struts1 project

2020-09-02 Thread Natta Wang
I'm doing on migrating Struts1 to Struts2 and one of component is TilesPlugin of Struts1 version. I've read the instruction of Struts2 tiles-pluing implementation and follow those steps, but found it is not loaded the configure as I expected. Question is I need to know how to imp

Re: Validation using Struts2-spring

2020-06-04 Thread M Huzaifah
Validations Annotation. Thank You All > On 4 Jun 2020, at 12.00, M Huzaifah wrote: > > Hii Guys, > > i’am stuck with Validation in Struts2 using struts2-spring plugin. > struts version : 2.5.22 > spring version : 5.2.1.RELEASE > > my validators.xml in classpath: > &

Validation using Struts2-spring

2020-06-03 Thread M Huzaifah
Hii Guys, i’am stuck with Validation in Struts2 using struts2-spring plugin. struts version : 2.5.22 spring version : 5.2.1.RELEASE my validators.xml in classpath: http://struts.apache.org/dtds/xwork-validator-definition-1.0.dtd";> my struts.xml config form constan

Re: Issue adding filter to struts2-archetype-starter project

2020-05-09 Thread James Chaplin
Hello Jonathan. As the other replies have pointed out, your code is using/extending "import java.nio.file.DirectoryStream.Filter;". That is an import for a file directory filter, and not a servlet filter. You will want to replace the old import statement with "import javax.servlet.F

Re: Issue adding filter to struts2-archetype-starter project

2020-05-05 Thread M Huzaifah
Eyou should use interface Filter in servlet package. Not from nio package On Tue, May 5, 2020, 22:40 Dave Newton wrote: > `import java.nio.file.DirectoryStream.Filter` is not a servlet filter. > > Dave >

Re: Issue adding filter to struts2-archetype-starter project

2020-05-05 Thread Dave Newton
`import java.nio.file.DirectoryStream.Filter` is not a servlet filter. Dave

Re: Issue adding filter to struts2-archetype-starter project

2020-05-04 Thread Lukasz Lenart
Do you see any errors while you starting Tomcat? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache

Issue adding filter to struts2-archetype-starter project

2020-05-04 Thread Jonathan Hill
Hello, In order to study/practice using struts 2, I am using a the struts2-archetype-starter maven archetype. I've come across a problem trying to add my own filter, and was hoping someone could point me in the right direction. I'm using eclipse with maven for my build process,

FW: [struts-community-plugins/struts2-jquery] How often are the issues placed here looked at? (#175)

2019-12-06 Thread Nazario, Oscar
Hi, Can you please take a look at the issue I posted on github and let me know how to solve this problem, so we can upgrade from 3.7.1 to 4.0.3. Thanks, Oscar From: Nazario, Oscar Sent: Friday, December 6, 2019 6:50 AM To: struts-community-plugins/struts2-jquery ; struts-community-plugins

Re: Spring Boot + Struts2 Convention Plugin Not Working

2019-03-12 Thread Lukasz Lenart
Hi I think it's do the fact that the plugin won't scan JARs by default https://struts.apache.org/plugins/convention/#actions-in-jar-files Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ pon., 11 mar 2019 o 18:39 Rubens Gomes napisał(a): > > I using Spring Boot +

Spring Boot + Struts2 Convention Plugin Not Working

2019-03-11 Thread Rubens Gomes
I using Spring Boot + Struts2, and the convention plugin is not working. That, is the request URL paths are not being automatically mapped to their corresponding action classes at all. Spring Boot: 1.5.19.RELEASE Struts2: 2.5.20 Java VM JDK 1.8 Maven I have the struts2-convention-plugin in

Re: Struts2 Checkboxlist

2019-02-06 Thread Prasanth Pasala
I post an empty form, MultiselectInterceptor adds an empty string for >> selectedLongs http param, then Struts internal conversion converts it to an >> empty instance of List, then setSelectedLongs will be called here with >> it. >> >> Regards. >> >>>

Re: Struts2 Checkboxlist

2019-02-06 Thread Prasanth Pasala
/WEB-INF/tags/ui/example.jsp > > > > When I post an empty form, MultiselectInterceptor adds an empty string for > selectedLongs http param, then Struts internal conversion converts it to an > empty instance of List, then setSelectedLongs will be

RE: Struts2 Checkboxlist

2019-02-06 Thread Yasser Zamani
to an empty instance of List, then setSelectedLongs will be called here with it. Regards. >-Original Message- >From: Prasanth Pasala >Sent: Wednesday, February 6, 2019 12:30 AM >To: user@struts.apache.org >Subject: Re: Struts2 Checkboxlist > >Hi Yasser, > >

Re: Struts2 Checkboxlist

2019-02-05 Thread Prasanth Pasala
t; From: Prasanth Pasala >> Sent: Tuesday, February 5, 2019 3:26 AM >> To: user@struts.apache.org >> Subject: Re: Struts2 Checkboxlist >> >> I am using the defaultStack but the ArrayList used for the checkboxes is of >> type >> Long. If we change it to A

RE: Struts2 Checkboxlist

2019-02-05 Thread Yasser Zamani
-352999309 >-Original Message- >From: Prasanth Pasala >Sent: Tuesday, February 5, 2019 3:26 AM >To: user@struts.apache.org >Subject: Re: Struts2 Checkboxlist > >I am using the defaultStack but the ArrayList used for the checkboxes is of >type >Long. If we change

Re: Struts2 Checkboxlist

2019-02-04 Thread Prasanth Pasala
ox is not > checked. This is part of the default interceptor stack. > > Paul > > -Original Message- > From: Prasanth Pasala > Sent: Monday, February 4, 2019 5:21 PM > To: user@struts.apache.org > Subject: Re: Struts2 Checkboxlist > > NOTICE: This email orig

RE: Struts2 Checkboxlist

2019-02-04 Thread Paul Zepernick
fault interceptor stack. Paul -Original Message- From: Prasanth Pasala Sent: Monday, February 4, 2019 5:21 PM To: user@struts.apache.org Subject: Re: Struts2 Checkboxlist NOTICE: This email originated from outside of the organization. Do not click links or open attachments unless you recogniz

Re: Struts2 Checkboxlist

2019-02-04 Thread Prasanth Pasala
Is that how Struts2 is expected to work? Meaning setFoo would not be called if non of the Foo checkboxes are selected? I know that is how Struts1 worked. Thanks, Prasanth On 2/2/19 7:08 PM, Prasanth Pasala wrote: > Hi Yasser, > > When none of the checkboxes is selected the setFoo is no

RE: Struts2 Checkboxlist

2019-02-02 Thread Prasanth Pasala
t; >Thanks for using Struts! > >Kind Regards. > >>-Original Message- >>From: Prasanth >>Sent: Saturday, February 2, 2019 1:08 AM >>To: user@struts.apache.org >>Subject: Struts2 Checkboxlist >> >>Hi, >> >>I am using a checkbo

RE: Struts2 Checkboxlist

2019-02-02 Thread Yasser Zamani
method. Normally you should clear baz and fill it with them again to update selected items. Thanks for using Struts! Kind Regards. >-Original Message- >From: Prasanth >Sent: Saturday, February 2, 2019 1:08 AM >To: user@struts.apache.org >Subject: Struts2 Checkboxlist

Re: Struts2 Checkboxlist

2019-02-01 Thread Prasanth
The data class holding the array is in session, done using the scope interceptor. Thanks Prasanth On February 1, 2019 9:30:30 PM CST, Arjuna Bandara wrote: >Hi, > >As I understand, you need to modify previous Array before saving. > >Have you tried Session variable ? > >Regards > >Arjuna > >On S

Re: Struts2 Checkboxlist

2019-02-01 Thread Arjuna Bandara
Hi, As I understand, you need to modify previous Array before saving. Have you tried Session variable ? Regards Arjuna On Sat, 2 Feb 2019 3:18 am Prasanth, wrote: > Hi, > > I am using a checkboxlist on a jsp page which corresponds to a ArrayList > in the form class, which is used to store fo

Struts2 Checkboxlist

2019-02-01 Thread Prasanth
Hi, I am using a checkboxlist on a jsp page which corresponds to a ArrayList in the form class, which is used to store form data from a multi page wizard. I am using scope interceptor to store the form class in session so that the data persists as the user navigates the wizard. When the user se

Re: [ask] How to pass multiple radio button in struts2

2018-12-24 Thread M Huzaifah
2018 11:44 AM >> To: Struts Users Mailing List >> Subject: [ask] How to pass multiple radio button in struts2 >> >> Hi Members, >> >> i would like to ask something about radio button in strtus2. >> >> i have radio button in jsp like this: >>

RE: [ask] How to pass multiple radio button in struts2

2018-12-22 Thread Yasser Zamani
t: [ask] How to pass multiple radio button in struts2 > >Hi Members, > >i would like to ask something about radio button in strtus2. > >i have radio button in jsp like this: > > > >All >Self >Custom > > > >All >Self >C

[ask] How to pass multiple radio button in struts2

2018-12-21 Thread M Huzaifah
Hi Members, i would like to ask something about radio button in strtus2. i have radio button in jsp like this: All Self Custom All Self Custom and in my JavaAction class i add property " private String viewAccess[]; “ also with setter and getter. the problem is,

RE: Struts2 - multipart/related - HttpServletRequest#getParts not working

2018-10-09 Thread Yasser Zamani
ot a multi part request". Regards. >-Original Message- >From: Nikhil P Kookkiri >Sent: Tuesday, October 9, 2018 10:05 AM >To: Struts Users Mailing List ; Yasser Zamani > >Subject: Re: Struts2 - multipart/related - HttpServletRequest#getParts not >working > >

Re: Struts2 - multipart/related - HttpServletRequest#getParts not working

2018-10-08 Thread Nikhil P Kookkiri
From: Nikhil P Kookkiri Sent: Monday, October 8, 2018 12:37 PM To: user@struts.apache.org Subject: Struts2 - multipart/related - HttpServletRequest#getParts not working I have request coming from another application which is 'multipart/related'. In the mutlipart request body, I am recei

RE: Struts2 - multipart/related - HttpServletRequest#getParts not working

2018-10-08 Thread Yasser Zamani
8, 2018 12:37 PM >To: user@struts.apache.org >Subject: Struts2 - multipart/related - HttpServletRequest#getParts not working > >I have request coming from another application which is 'multipart/related'. In >the mutlipart request body, I am receiving image/jpeg and a

Struts2 - multipart/related - HttpServletRequest#getParts not working

2018-10-08 Thread Nikhil P Kookkiri
I have request coming from another application which is 'multipart/related'. In the mutlipart request body, I am receiving image/jpeg and application/xml. I suppose, I should be iterating over the http part obtained from getPaths method in the HttpServletRequest object and read the stream avail

Re: Migrate from Struts2 from 2.3.34 to 2.3.35

2018-09-09 Thread Lukasz Lenart
niedz., 9 wrz 2018 o 00:34 user0707 napisał(a): > > I am working on upgrading struts from 2.3.34 to 2.3.35 and I all assumed it > will be fully backward compatible. > > Replaced following .jar which is marked as essential and while bringing up > WebApp in WAS, facing trouble with freemarker.jar >

Migrate from Struts2 from 2.3.34 to 2.3.35

2018-09-08 Thread user0707
I am working on upgrading struts from 2.3.34 to 2.3.35 and I all assumed it will be fully backward compatible. Replaced following .jar which is marked as essential and while bringing up WebApp in WAS, facing trouble with freemarker.jar (freemarker/core/_Java8Impl.class). Code is currently compi

Re: Struts2 login action class seems to be reused

2018-05-18 Thread Prasanth
e: >> Would struts2 call this setRequest method even if the class is implementing >> just ServletRequestAware? > No. Additionally Struts RequestAware method signature is > setRequest(Map request); i.e. it's parameter is Map not > ServletRequest. > >> Any insights as t

Re: Struts2 login action class seems to be reused

2018-05-17 Thread Yasser Zamani
On 5/16/2018 11:51 PM, Prasanth wrote: > Would struts2 call this setRequest method even if the class is implementing > just ServletRequestAware? No. Additionally Struts RequestAware method signature is setRequest(Map request); i.e. it's parameter is Map not ServletRequest. > A

Re: Struts2 login action class seems to be reused

2018-05-16 Thread Prasanth
d the issue. Any insights as to why this additional setRequest method causes the problem? Would struts2 call this setRequest method even if the class is implementing just ServletRequestAware?     @Override     public void *setServletRequest*(HttpServletRequest request) {         this.request = re

Re: Struts2 login action class seems to be reused

2018-05-16 Thread Prasanth
was accessed (using request.getSession()). Artifact of code from struts1, that part of the code did not change when we move the action to struts2. So decided to change it and use the session map provided by struts2. Once I have added SessionAware I am not able to reproduce the session invalid

Re: Struts2 login action class seems to be reused

2018-05-16 Thread Yasser Zamani
On 5/16/2018 7:23 PM, Prasanth Pasala wrote: > Exception: java.lang.IllegalStateException: UT10: Session is invalid > r4yb7BtBx7fwmGbzMhgeyhvSFb3sAp6FhW6m-5Op > at > io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttribute(InMemorySessionManager.java:481 > at > i

  1   2   3   4   5   6   7   8   9   10   >