Re: JSP EL not working post strutsbmigration from 2.5.x to 6.7.0

2025-01-22 Thread Lukasz Lenart
śr., 22 sty 2025 o 09:55 Murali Challa napisał(a): > > Hi, > > I'm trying to migrate application from Struts 2.5.33 to struts 6.7.0 but > JSP EL is not working post migration. > > ${obj.prop} giving empty value. > > Can someone suggest on this? > > Servelt a

JSP EL not working post strutsbmigration from 2.5.x to 6.7.0

2025-01-22 Thread Murali Challa
Hi, I'm trying to migrate application from Struts 2.5.33 to struts 6.7.0 but JSP EL is not working post migration. ${obj.prop} giving empty value. Can someone suggest on this? Servelt api 3.1 will work only on WAS 9? If yes, my WAS version is 8.5.x, will this be a problem for EL not wo

Re: allowed-methods tag not working

2024-02-08 Thread Lukasz Lenart
t; > > However, when I try to call someAction!start.action, the start method is not > called and it looks for the execute method instead. The same thing happens > for the finish and next methods. > > Any guesses why it is not working? Or ideas on how to fix it? The existing

allowed-methods tag not working

2024-02-08 Thread apacheStrutsUsers8
for the execute method instead. The same thing happens for the finish and next methods. Any guesses why it is not working? Or ideas on how to fix it? The existing code does work correctly in Struts 2.5 and methods without the "{1}" syntax do work (i.e. if there is a specific meth

RE: Set tag not working in 6.2.0

2023-08-16 Thread Tellis, Wyatt
That's great news. I've opened: https://issues.apache.org/jira/browse/WW-5331 Wyatt -Original Message- From: Lukasz Lenart Sent: Wednesday, August 16, 2023 6:09 AM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 pon., 14 sie 2023 o 19:52 Tellis, Wyat

Re: Set tag not working in 6.2.0

2023-08-16 Thread Lukasz Lenart
pon., 14 sie 2023 o 19:52 Tellis, Wyatt napisał(a): > Any luck with tracking the cause? Yeah, I finally found the core issue, it's related to https://issues.apache.org/jira/browse/WW-5196 Basically instead of using: public Object get(final String key) { return request.getAttribute(key); }

RE: Set tag not working in 6.2.0

2023-08-14 Thread Tellis, Wyatt
Hi, Any luck with tracking the cause? Wyatt -Original Message- From: Lukasz Lenart Sent: Wednesday, August 2, 2023 11:00 PM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 Interesting, what's even more interesting this

Re: Set tag not working in 6.2.0

2023-08-02 Thread Lukasz Lenart
; On 6.1.2.1 you get: > > Set attempt #1: success > Set attempt #2: success > > > But on 6.2.0 you only get: > > Set attempt #1: success > Set attempt #2: > > > > Note: the call to returns nothing in > 6.2.0 > > Wyatt > > > -Origina

RE: Set tag not working in 6.2.0

2023-08-02 Thread Tellis, Wyatt
s But on 6.2.0 you only get: Set attempt #1: success Set attempt #2: Note: the call to returns nothing in 6.2.0 Wyatt -Original Message- From: Lukasz Lenart Sent: Saturday, July 29, 2023 10:48 AM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 sob.,

Re: Set tag not working in 6.2.0

2023-07-29 Thread Lukasz Lenart
sob., 29 lip 2023 o 15:38 Tellis, Wyatt napisał(a): > > No, its just the standard JSTL Core set tag: Just tested the following setup and it just works with Struts 6.2.0 and Java 8/11/17 ${listType} / ${lcType} Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

RE: Set tag not working in 6.2.0

2023-07-29 Thread Tellis, Wyatt
No, its just the standard JSTL Core set tag: https://www.w3schools.in/jsp/jstl-core-set-tag Wyatt -Original Message- From: Lukasz Lenart Sent: Friday, July 28, 2023 10:26 PM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 sob., 29 lip 2023 o 02:32 Tellis

Re: Set tag not working in 6.2.0

2023-07-28 Thread Lukasz Lenart
sob., 29 lip 2023 o 02:32 Tellis, Wyatt napisał(a): > > Because "#request." is about accessing Request attributes > > not parameters. > > Understood, but we're using value="requestAttributeValue" scope="request"/> to update the request > attributes Is this your custom function? Could you share

RE: Set tag not working in 6.2.0

2023-07-28 Thread Tellis, Wyatt
2023 11:50 AM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 In which version this worked for you? Because "#request." is about accessing Request attributes not parameters. Regards -- Łukasz + 48 606 323 122 https://urldefense.com/v3/__http:/

Re: Set tag not working in 6.2.0

2023-07-27 Thread Lukasz Lenart
In which version this worked for you? Because "#request." is about accessing Request attributes not parameters. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apac

Re: Set tag not working in 6.2.0

2023-07-21 Thread Lukasz Lenart
czw., 20 lip 2023 o 18:28 Tellis, Wyatt napisał(a): > > It doesn't work. Also I was debugging the set tag and noticed the RequestMap > in the ValueStack that gets passed to the set tag doesn't even contain the > listType attribute. This is different behavior from the previous versions of > St

RE: Set tag not working in 6.2.0

2023-07-20 Thread Tellis, Wyatt
asz Lenart Sent: Thursday, July 20, 2023 12:11 AM To: user@struts.apache.org Subject: Re: Set tag not working in 6.2.0 śr., 19 lip 2023 o 20:59 Tellis, Wyatt napisał(a): > We noticed the following snippet of code no longer works in 6.2.0: > > <%@taglib > uri="https://urldefens

Re: Set tag not working in 6.2.0

2023-07-20 Thread Lukasz Lenart
śr., 19 lip 2023 o 20:59 Tellis, Wyatt napisał(a): > We noticed the following snippet of code no longer works in 6.2.0: > > <%@taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> > <%@taglib uri="/struts-tags" prefix="s"%> > > > Could you try to use to access this value? Regards --

Set tag not working in 6.2.0

2023-07-19 Thread Tellis, Wyatt
Hi, We noticed the following snippet of code no longer works in 6.2.0: <%@taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> <%@taglib uri="/struts-tags" prefix="s"%> ${listType} / ${lcType} In the previous version of Struts we would get: TEST / test but with 6.2.0 we get: TES

Re: Re: Sample application on target Struts 6.1.2.1 not working with Open JDK 1.8 and Tomcat 8.5+

2023-06-27 Thread Lukasz Lenart
wt., 27 cze 2023 o 08:55 Garg, Ankit napisał(a): > > > What is included in EAR libraries, Server Runtime and Web App Libraries? Maybe you have duplicated JRAs there? Also is worth clean up Temp/Work folders as described here https://cwiki.apache.org/confluence/display/WW/Struts+2.5+to+6.0.0+migra

RE: Re: Sample application on target Struts 6.1.2.1 not working with Open JDK 1.8 and Tomcat 8.5+

2023-06-27 Thread Garg, Ankit
t Garg From: Lukasz Lenart Sent: Tuesday, June 27, 2023 11:36 AM To: Ankit Garg Cc: Garg, Ankit Subject: [EXT] Re: Sample application on target Struts 6.1.2.1 not working with Open JDK 1.8 and Tomcat 8.5+ CAUTION: This email originated from outside MetLife. Do not click links, open attachmen

Re: Struts 6.0 DTD not working with Intellij Struts 2 Plug-in - Unable to create proper "file sets"

2022-10-15 Thread Burton Rhodes
Ah - thanks! -- Original Message -- From "Lukasz Lenart" To "Struts Users Mailing List" Date 10/15/2022 1:58:18 AM Subject Re: Struts 6.0 DTD not working with Intellij Struts 2 Plug-in - Unable to create proper "file sets" pt., 14 paź 2022 o 15:09

Re: Struts 6.0 DTD not working with Intellij Struts 2 Plug-in - Unable to create proper "file sets"

2022-10-14 Thread Lukasz Lenart
pt., 14 paź 2022 o 15:09 Burton Rhodes napisał(a): > > I believe back in the summer someone noticed the Struts 6.0 DTD was > missing from the 6.0.0 package. In testing v6.0.1-SNAPSHOT, the DTD is > included, but I am no longer able to properly map File Sets in intelliJ. > When changing to the 6.

Struts 6.0 DTD not working with Intellij Struts 2 Plug-in - Unable to create proper "file sets"

2022-10-14 Thread Burton Rhodes
I believe back in the summer someone noticed the Struts 6.0 DTD was missing from the 6.0.0 package. In testing v6.0.1-SNAPSHOT, the DTD is included, but I am no longer able to properly map File Sets in intelliJ. When changing to the 6.0 DTD doctype in my xml files, my "local" struts.xml files

Re: SMI allowed methods not working for struts 2.5.17

2020-06-02 Thread Dave Newton
On Tue, Jun 2, 2020 at 03:14 Lukasz Lenart wrote: > wt., 2 cze 2020 o 09:05 Sailaja S napisał(a): > > How do I invoke multiple methods with the same action? I did post this in > > stackover flow as well. I appreciate your time and inputs. > > Where? https://stackoverflow.com/questions/6206869

Re: SMI allowed methods not working for struts 2.5.17

2020-06-02 Thread Lukasz Lenart
wt., 2 cze 2020 o 09:05 Sailaja S napisał(a): > When I set Dynamic method invocation to false allowed methods is not > working. Should allowed-methods work with SMI? Those two different things, you can enable DMI but you still need to define allowed methods. > How do I invoke multipl

SMI allowed methods not working for struts 2.5.17

2020-06-02 Thread Sailaja S
Hi, Currently I have an app sec issue with Struts Dynamic method invocation being set to true in my struts.xml file. We are using struts2.5. When I set Dynamic method invocation to false allowed methods is not working. Should allowed-methods work with SMI? How do I invoke multiple methods

Re: Spring Boot + Struts2 Convention Plugin Not Working

2019-03-12 Thread Lukasz Lenart
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-con

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 - 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: s:fielderror not working in Java 8, WebSphere

2018-06-14 Thread Arjuna Bandara
I have faced similar issue. problem is on Java 8. On Thu, Jun 14, 2018, 8:12 PM Doug Breaux wrote: > > > On 2018/05/22 18:24:34, bre...@us.ibm.com wrote: > > Struts 2.5.14.1, WebSphere 8.5.5.13, IBM Java 8 (level 1.8.0_161) on AIX. > > > > We have a JSP with a plain element that works without

Re: s:fielderror not working in Java 8, WebSphere

2018-06-14 Thread Doug Breaux
On 2018/05/22 18:24:34, bre...@us.ibm.com wrote: > Struts 2.5.14.1, WebSphere 8.5.5.13, IBM Java 8 (level 1.8.0_161) on AIX. > > We have a JSP with a plain element that works without issue > when we switch WebSphere back to Java 7, but in Java 8 produces the following > error: > > 2018-05

Re: s:fielderror not working in Java 8, WebSphere

2018-05-29 Thread Doug Breaux
On 2018/05/24 14:42:55, Yasser Zamani wrote: > > But freemarker claims "Java method "AbstractCollection.size()" threw an > exception when invoked on LinkedHashMap$LinkedKeySet object "[]"; see > cause exception in the Java stack trace" and Java stack trace in JSP > exception says "Caused by: java

Re: s:fielderror not working in Java 8, WebSphere

2018-05-24 Thread Yasser Zamani
On 5/24/2018 6:43 PM, Doug Breaux wrote: > I'm not sure if I misunderstood the threading here, or just missed this test > case, but this one does seem to run the same on IBM Java 8: > > java TestForStruts2 > COPY ME 1: class java.util.LinkedHashMap$LinkedKeySet > COPY ME 2: public abstract int

Re: s:fielderror not working in Java 8, WebSphere

2018-05-24 Thread Doug Breaux
On 2018/05/24 06:42:48, Yasser Zamani wrote: > > It seems IBM JDK 8 has different behavior than Oracle or OpenJDK 8. Your > exception claims that JDK is not able to call abstract method size on > LinkedKeySet but here, Oracle and OpenJDK 8 are able to run: > > LinkedHashMap lhm = new Li

Re: s:fielderror not working in Java 8, WebSphere

2018-05-24 Thread Doug Breaux
On 2018/05/24 06:42:48, Yasser Zamani wrote: > > It seems IBM JDK 8 has different behavior than Oracle or OpenJDK 8. Your > exception claims that JDK is not able to call abstract method size on > LinkedKeySet but here, Oracle and OpenJDK 8 are able to run: > > LinkedHashMap lhm = new Li

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Yasser Zamani
On 5/22/2018 10:54 PM, breaux@ wrote: > 2018-05-22 12:43:24,384 ERROR [freemarker.runtime]: error - Error executing > FreeMarker template > FreeMarker template error: > Java method "AbstractCollection.size()" threw an exception when invoked on > LinkedHashMap$LinkedKeySet object "[]"; see cause

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Doug Breaux
On 2018/05/23 19:30:40, Yasser Zamani wrote: > > Thanks. Sorry, for last one, could you check: > > java.util.Map lhm = new java.util.LinkedHashMap<>(); > Class c = lhm.getClass(); > java.lang.reflect.Method m = c.getMethod("keySet"); > Object ks = m.invoke(lhm)

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Yasser Zamani
On 5/23/2018 11:29 PM, Doug Breaux wrote: > Looks the same: > > java TestForStruts > COPY ME 1: public abstract int java.util.Set.size() > COPY ME 2: 0 Thanks. Sorry, for last one, could you check: java.util.Map lhm = new java.util.LinkedHashMap<>(); Class c = lhm.getClass();

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Doug Breaux
On 2018/05/23 18:38:19, Yasser Zamani wrote: > then reply back COPY MEs values please. Here I get: > > COPY ME 1: public abstract int java.util.Set.size() > COPY ME 2: 0 Looks the same: java TestForStruts COPY ME 1: public abstract int java.util.Set.size() COPY ME 2: 0 -

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Yasser Zamani
Sorry. Could you please check this updated one which is OK here: public static void main(String[] args) throws Exception { java.util.Map lhm = new java.util.LinkedHashMap<>(); Class c = lhm.getClass(); java.lang.reflect.Method m = c.getMethod("keySet"); Object k

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Doug Breaux
On 2018/05/23 18:11:34, Yasser Zamani wrote: > Thanks. Could you also check if your IBM JDK 8 is able to run this: > > java.util.Map> lhm = new > java.util.LinkedHashMap<>(); > Class c = lhm.getClass(); > Method m = c.getMethod("keySet"); > Object ks = m.invoke

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Yasser Zamani
On 5/23/2018 8:56 PM, Doug Breaux wrote: > This is the latest IBM JDK 8. Or at least the latest that works with our > version WebSphere, but it's very recent. The build date is 20180214. And this > WebSphere cannot use Oracle or OpenJDK. Thanks. Could you also check if your IBM JDK 8 is able t

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Doug Breaux
On 2018/05/23 15:38:51, Yasser Zamani wrote: > > Could you check with latest version of IBM JDK 8? And are you maybe able > to check also with Oracle and OpenJDK 8? This is the latest IBM JDK 8. Or at least the latest that works with our version WebSphere, but it's very recent. The build date

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Yasser Zamani
On 5/23/2018 5:38 PM, Doug Breaux wrote: > Quite possibly. Hoping somebody here will be able to confirm or give some > additional hints. Could you check with latest version of IBM JDK 8? And are you maybe able to check also with Oracle and OpenJDK 8?

Re: s:fielderror not working in Java 8, WebSphere

2018-05-23 Thread Doug Breaux
On 2018/05/23 06:07:05, Lukasz Lenart wrote: > You mean ? There is no tag. Did you > try to use the latest Freemarker version? Yes, sorry. I did not try the latest Freemarker, I'm using what is packaged with Struts (min-lib.zip). Which, even at the very latest 2.5.16, is apparently 2.3.2

Re: s:fielderror not working in Java 8, WebSphere

2018-05-22 Thread Lukasz Lenart
You mean ? There is no tag. Did you try to use the latest Freemarker version? I have tested the tag with Oracle Java 8 and it works without issue. Look like incompatibility between IBM Java and Freemarker. 2018-05-22 20:24 GMT+02:00 bre...@us.ibm.com : > Struts 2.5.14.1, WebSphere 8.5.5.13, IBM

s:fielderror not working in Java 8, WebSphere

2018-05-22 Thread breaux
Struts 2.5.14.1, WebSphere 8.5.5.13, IBM Java 8 (level 1.8.0_161) on AIX. We have a JSP with a plain element that works without issue when we switch WebSphere back to Java 7, but in Java 8 produces the following error: 2018-05-22 12:43:24,384 ERROR [freemarker.runtime]: error - Error executing

RE: Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-09-02 Thread Givler, Eric
lar to use and see how it behaves. What do you use for the validation that is creating these keys? Struts Validator? Eric -Original Message- From: eugenebalt [mailto:eugeneb...@yahoo.com] Sent: Tuesday, July 07, 2015 3:45 PM To: user@struts.apache.org Subject: Re: Struts 1.3 errorStyleC

RE: Struts2 tabbed panel not working

2015-08-21 Thread Martin Gainty
s.tld ... Martin > From: zy...@hotmail.com > To: user@struts.apache.org > Subject: RE: Struts2 tabbed panel not working > Date: Fri, 21 Aug 2015 03:41:14 -0400 > > Thanks, got this after using the struts2-jquery-plugin. > > > From: zy...@hotmail.com > > To: user@stru

RE: Struts2 tabbed panel not working

2015-08-21 Thread fea jabi
Thanks, got this after using the struts2-jquery-plugin. > From: zy...@hotmail.com > To: user@struts.apache.org > Subject: RE: Struts2 tabbed panel not working > Date: Fri, 21 Aug 2015 02:20:26 -0400 > > Thanks, for your reply. > > sorry, I saw an example on web and t

RE: Struts2 tabbed panel not working

2015-08-20 Thread fea jabi
Thanks, for your reply. sorry, I saw an example on web and tried that. What do I use then? Any example link you can provide please? > Date: Fri, 21 Aug 2015 02:13:01 -0400 > Subject: Re: Struts2 tabbed panel not working > From: davelnew...@gmail.com > To: user@struts.apache.

Re: Struts2 tabbed panel not working

2015-08-20 Thread Dave Newton
Why are you using the long-deprecated Dojo tags? On Aug 21, 2015 2:06 AM, "fea jabi" wrote: > Using Struts2.3 . Using the below code to display the tabbed panel but > it's not working. What am I missing in this? All I see is some text of Tab1 > Tab2 on screen. no css i

Struts2 tabbed panel not working

2015-08-20 Thread fea jabi
Using Struts2.3 . Using the below code to display the tabbed panel but it's not working. What am I missing in this? All I see is some text of Tab1 Tab2 on screen. no css is applied. Have struts2-dojo-plugin in build path. What else do I need? Using struts2 tiles too. Any he

Re: Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-07-07 Thread eugenebalt
7;t happen, and the style isn't applied. Any thoughts on this? -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-3-errorStyleClass-Not-Working-Error-Field-Highlighting-tp5717942p5717943.html Sent from the Struts - User mailing list archive at Nabble.com. -

Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-07-07 Thread eugenebalt
The errorStyleClass attribute on the Struts 1.3 tag is not working for me. It's supposed to highlight the error fields accumulated correctly in the ActionErrors collection. In the output HTML I see the error style isn't included. It only has the original class that came from style

Re: label not working

2014-12-20 Thread Yaragalla Muralidhar
I am using simple theme. the text field is rendered without a label. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Dec 20, 2014 at 3:11 PM, Chris Pratt wrote: > What theme are you using, and what does the output HTML look li

Re: label not working

2014-12-20 Thread Chris Pratt
What theme are you using, and what does the output HTML look like? (*Chris*) On Sat Dec 20 2014 at 1:35:46 AM Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi I am using the following code > > cssStyle="width:270px;margin-left:20px;margin-top: 10px;"/> > > I am not sure why label

label not working

2014-12-20 Thread Yaragalla Muralidhar
Hi I am using the following code I am not sure why label is not getting rendered? Am i missing something? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ *

Re: The %{#attr.counter.index} is not working in 2.3.20

2014-12-15 Thread Lukasz Lenart
onday, 15 December 2014, 12:00 > Subject: Re: The %{#attr.counter.index} is not working in 2.3.20 > > 2014-12-15 9:15 GMT+01:00 Lukasz Lenart : >> 2014-12-15 9:04 GMT+01:00 Alireza Fattahi : >>> Below code is not working in struts 2.3.20 >>>>

Re: The %{#attr.counter.index} is not working in 2.3.20

2014-12-15 Thread Alireza Fattahi
Thanks. Issue created https://issues.apache.org/jira/browse/WW-4432   ~Regards, ~~Alireza Fattahi From: Lukasz Lenart To: Struts Users Mailing List Sent: Monday, 15 December 2014, 12:00 Subject: Re: The %{#attr.counter.index} is not working in 2.3.20 2014-12-15 9:15 GMT+01:00

Re: The %{#attr.counter.index} is not working in 2.3.20

2014-12-15 Thread Lukasz Lenart
2014-12-15 9:15 GMT+01:00 Lukasz Lenart : > 2014-12-15 9:04 GMT+01:00 Alireza Fattahi : >> Below code is not working in struts 2.3.20 >> > varStatus="counter" begin="1">> name="site.intro.intro%{#attr.counter.index}.ca

Re: The %{#attr.counter.index} is not working in 2.3.20

2014-12-15 Thread Lukasz Lenart
2014-12-15 9:04 GMT+01:00 Alireza Fattahi : > Below code is not working in struts 2.3.20 > varStatus="counter" begin="1"> name="site.intro.intro%{#attr.counter.index}.caption"/> > The %{#attr.counter.index} i

The %{#attr.counter.index} is not working in 2.3.20

2014-12-15 Thread Alireza Fattahi
Below code is not working in struts 2.3.20                                       The %{#attr.counter.index} is not returning any value and no exception is thrown in the log the below message is shown: WARN  ognl.SecurityMemberAccess      Package of target

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
Thanks a lot Lukasz... appreciate all your help on fixing this up. WARN :) -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Lukasz Lenart
2014-12-15 7:57 GMT+01:00 Sreekanth S. Nair : > Hi Lukasz, > :) i haven't intentionally added rest-plugin, that was > by mistake i have included and went clueless. That would have been my second question if you still have had problems ;-) > I need one more help from you rega

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
Hi Lukasz, :) i haven't intentionally added rest-plugin, that was by mistake i have included and went clueless. I need one more help from you regarding custom struts.xml, can you kindly tell me the struts.xml i have attached is correct ? i have removed the excludeParam as you

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Lukasz Lenart
2014-12-15 7:49 GMT+01:00 Sreekanth S. Nair : > :) , all i meant by WARN is to give some clue :), because i was really out > of clue why 404 without any ERROR or something. Hmm maybe some info like "REST plugin ..." Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ -

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
Yeah i checked out the url and set up the rest as well. thanks for the link. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
:) , all i meant by WARN is to give some clue :), because i was really out of clue why 404 without any ERROR or something. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Lukasz Lenart
2014-12-14 20:13 GMT+01:00 Sreekanth S. Nair : > I was able to setup, with rest plugin as well. after adding > > value="org.apache.struts2.dispatcher.mapper.PrefixBasedActionMapper" /> > > in struts.xml As I said, it's in the docs http://struts.apache.org/docs/rest-plugin.html#RESTPlugin-RESTan

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Lukasz Lenart
2014-12-14 19:48 GMT+01:00 Sreekanth S. Nair : > Hi Lukasz, >Was drafting a mail eureka :) when i got your last > response (any way, that log is not showing anything while accessing the > url). > >Finally i found the culprit, the struts2-rest-plugin. > Witho

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
I was able to setup, with rest plugin as well. after adding in struts.xml -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
Hi Lukasz, Was drafting a mail eureka :) when i got your last response (any way, that log is not showing anything while accessing the url). Finally i found the culprit, the struts2-rest-plugin. Without the rest plugin, its working perfectly. I went and checke

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Lukasz Lenart
Looks like you HomepageAction was processed and it should be available at /homepage and /common/homepage - see the log exercise below. What happens in log when you try access these actions? 22:34:35,262 DEBUG [org.apache.struts2.convention.PackageBasedActionConfigBuilder] (default task-8) Processi

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Lukasz Lenart
Please check your logs for messages like this: "The includeJars pattern ... did not match any jars in the classpath" 2014-12-14 17:29 GMT+01:00 Sreekanth S. Nair : > Hi Lukasz, > We are using this pattern for struts to check action > classes in those specific jars, for this we are

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
Hi Lukasz, We are using this pattern for struts to check action classes in those specific jars, for this we are naming all our jars containing action classes with "org-" prefix. Yeah i can try removing those, we are using some custom interceptors(removed from the one i have attach

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Lukasz Lenart
2014-12-13 15:24 GMT+01:00 Sreekanth S. Nair < sreekanth.n...@egovernments.org>: > > Hi Lukasz, > Anything you can give as a hint about it, if you can > tell me what are the components changed after 2.3.16.3 release, i can > narrow down to find the exact cause. I'm attaching my c

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-13 Thread Sreekanth S. Nair
Hi Lukasz, Anything you can give as a hint about it, if you can tell me what are the components changed after 2.3.16.3 release, i can narrow down to find the exact cause. I'm attaching my custom struts.xml file -- Thanks & Regards Sreekanth S Nair Java Developer --

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-13 Thread nick
Hi Gerald, I missed your reply due to mail subscription. In my case i have all these upgraded library in my classpath asm and commons-lang and all from struts2 latest distribution only. -- View this message in context: http://struts.1045723.n5.nabble.com/Struts2-Not-Working

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-13 Thread Sreekanth S. Nair
Hi Lukasz, I have tried with the struts2 version 2.3.16.3, its working perfectly. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 --

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-12 Thread Gerald Scheetz
Lukasz Lenart apache.org> writes: > > Can you try with 2.3.16.3 first? > > 2014-12-12 15:30 GMT+01:00 Sreekanth S. Nair egovernments.org>: > > Hi, > > Am facing a weird issue after upgrading strust2 from 2.3.15.1 to > > 2.3.20 in Wildfly server. Its not giving any debug or any k

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-12 Thread Sreekanth S. Nair
Sure Lukasz, let me try and let you know. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-12 Thread Lukasz Lenart
Can you try with 2.3.16.3 first? 2014-12-12 15:30 GMT+01:00 Sreekanth S. Nair : > Hi, > Am facing a weird issue after upgrading strust2 from 2.3.15.1 to > 2.3.20 in Wildfly server. Its not giving any debug or any kind of trace > about what is happening, its just going to 404 page. I switched

Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-12 Thread Sreekanth S. Nair
Hi, Am facing a weird issue after upgrading strust2 from 2.3.15.1 to 2.3.20 in Wildfly server. Its not giving any debug or any kind of trace about what is happening, its just going to 404 page. I switched debug mode in both struts config as well as in my server log but couldn't get a single c

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-09 Thread Mohit Gupta
Lukasz, i agree it must be passed as array when parameters having same name . I think internally struts 2 using getParameterValues(java.lang.String). instead getParameter(java.lang.String

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-09 Thread Lukasz Lenart
2013/12/10 Mohit Gupta : > Changing ='someItem'/> to ='someItem'/>. > > This works but this is how it is supposed to work ? It is a normal situation, parameters with the same name are passed as an array http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html#getParameter(java.

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-09 Thread Mohit Gupta
/ Tenth item >>> > >>> > But if i have 11 items i cet customer object with 11 orders with >>> first and >>> > last order correctly filled but inbetween 9 orders are not correctly >>> > filled. In between 9 values are filled as null obj

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
// Tenth item >> > >> > But if i have 11 items i cet customer object with 11 orders with first >> and >> > last order correctly filled but inbetween 9 orders are not correctly >> > filled. In between 9 values are filled as null object >>

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
> ='someItem'/>// Tenth item > > > > But if i have 11 items i cet customer object with 11 orders with first > and > > last order correctly filled but inbetween 9 orders are not correctly > > filled. In between 9 values are filled as null object > > >

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Dave Newton
correctly filled but inbetween 9 orders are not correctly > filled. In between 9 values are filled as null object > > ='someItem'/>// First item > to > ='someItem'/>// eleventh item > > Some how param interceptor is not work

Fwd: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
working fine for more than 10 items. I am not sure what i am missing here? -- Forwarded message -- From: Mohit Gupta Date: Fri, Dec 6, 2013 at 9:34 PM Subject: param interceptor is not working fine if list contain more than 10 items? To: Struts Users Mailing List I have

param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
customer object with 11 orders with first and last order correctly filled but inbetween 9 orders are correctly filled // First item to // Tenth item Some how param interceptor is not working fine for more than 10 items. I am not sure what i am missing here?

Re: Struts 2, session, s:iterator s:if not working, please help (this is revised)

2013-11-19 Thread Antonios Gkogkakis
Hi John, You have to use var instead of id in the s:iterator tag. Antonios On 19 November 2013 07:06, Lukasz Lenart wrote: > Have you tried to use tag? > > 2013/11/19 john lee : > > > > > > from the following output, > >we can tell sell_price=36.97, display_price=1 > > > > why > >

Re: Struts 2, session, s:iterator s:if not working, please help (this is revised)

2013-11-18 Thread Lukasz Lenart
Have you tried to use tag? 2013/11/19 john lee : > > > from the following output, >we can tell sell_price=36.97, display_price=1 > > why >none of test statement works ? > > > please advise, thanks in advance > > john > > > > Class Part { > float sell_price; >

Struts 2, session, s:iterator s:if not working, please help (this is revised)

2013-11-18 Thread john lee
from the following output,    we can tell sell_price=36.97, display_price=1 why    none of test statement works ? please advise, thanks in advance john   Class Part { float sell_price;     int display_price;     ./*..get set here */ Act

Re: S2-018, Struts 2.3.15.2: action: prefix for buttons not working after upgrade to Struts 2.3.15.2

2013-10-15 Thread Markus Fischer
Hi Greg. > So the statement about Backwards Compatibility on > http://struts.apache.org/release/2.3.x/docs/s2-018.html is incorrect? > > *Backward Compatibility* > After upgrading to Struts >= 2.3.15.2, applications using the "action:" > should still work as expected. > > This doesn't appear to

Re: S2-018, Struts 2.3.15.2: action: prefix for buttons not working after upgrade to Struts 2.3.15.2

2013-10-14 Thread Greg Lindholm
So the statement about Backwards Compatibility on http://struts.apache.org/release/2.3.x/docs/s2-018.html is incorrect? *Backward Compatibility* After upgrading to Struts >= 2.3.15.2, applications using the "action:" should still work as expected. This doesn't appear to be true. On Wed, Oct 9,

  1   2   3   4   5   6   7   8   9   10   >