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

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

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

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

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

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

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

2025-02-11 Thread Mahabir Gupta
Dear Lukasz, Previously I did not include the xwork-core-2.3.37.jar but added it to follow the youtube video but now I have removed it but the problem still persists. http://localhost:8080/Struts2Starter/tutorials/getTutorial.action https://github.com/MahabirGupta/Struts2Starter HTTP Status 404

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

2025-02-11 Thread Lukasz Lenart
śr., 12 lut 2025 o 05:17 Mahabir Gupta napisał(a): > > Dear Lukasz and Dave, > > The only deploy I am seeing is the below and this is my github link > https://github.com/MahabirGupta/Struts2Starter. I noticed you have xwork-core-2.3.37.jar in your libs, please remove this JAR as Xwork classes ar

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

2025-02-11 Thread Mahabir Gupta
Dear Lukasz and Dave, The only deploy I am seeing is the below and this is my github link https://github.com/MahabirGupta/Struts2Starter. Feb 12, 2025 11:46:52 AM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dwtp.deploy=/Users/mahabirguptanew/eclipse-works

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

2025-02-11 Thread Lukasz Lenart
pon., 10 lut 2025 o 04:06 Mahabir Gupta napisał(a): > > Dear Lukasz, > > I am using Struts2 using struts2-core-2.5.8.jar with Java 17. > > http://localhost:8080/manager/html > HTTP Status 404 – Not Found > -- > > *Type* Status Report > > *Message* The requested resource

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

2025-02-11 Thread Dave Newton
The 2.5.8 from eight years ago that was deprecated in 2023? Do you have a minimal non-working app repo to look at? em: davelnew...@gmail.com mo: 908-380-8699 gh: davelnewton so: Dave Newton On Tue, Feb 11, 202

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

2025-02-11 Thread Mahabir Gupta
Dear Lukasz, Can you please advise on the above? None of my application seems to be able to be mapped. http://localhost:8080/TutorialFinder/tutorials/getTutorial.action HTTP Status 404 – Not Found -- *Type* Status Report *Message* There is no Action mapped for actio

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

2025-02-09 Thread Mahabir Gupta
Dear Lukasz, I am using Struts2 using struts2-core-2.5.8.jar with Java 17. http://localhost:8080/manager/html HTTP Status 404 – Not Found -- *Type* Status Report *Message* The requested resource [/manager/html] is not available *Description* The origin server did no

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

2025-02-09 Thread Lukasz Lenart
niedz., 9 lut 2025 o 12:23 Mahabir Gupta napisał(a): > Apache Tomcat/9.0.82 Do you use Struts 6.7.x or 7.0? Can you confirm the app has been deployed into Tomcat using Tomcat Manager App? Cheers Lukasz - To unsubscribe, e-mail:

RE: [EXTERNAL] Re: Facings issues while migrating from Struts 2.5.x to 6.7

2025-02-04 Thread ndeleon
Regards, Noel Deleon -Original Message- From: Murali Challa Sent: Tuesday, February 4, 2025 3:11 AM To: Struts Users Mailing List ; lukaszlen...@apache.org Subject: [EXTERNAL] Re: Facings issues while migrating from Struts 2.5.x to 6.7 CAUTION! This email originated outside of the

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

2025-02-04 Thread 哈哈哈哈
There are multi issue you need to solve in WAS 8.5 1.downgrade freemarker to 2.3.32 2.remove old tiles dependecies like tiles-core ,tiles-ognl... 3.add any missing dependency if the error happened(Jackson xml in my situation) 3.clean jsp cache if the error is CannotRenderException Best regards Mu

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

2025-02-04 Thread Murali Challa
Hi Lukasz , I have created a struts project with with JSP EL using struts v6.7.0 dependencies and the EL is working fine in this test project. This test project is deployed in tomcat and tested. Now I'm really confused on why it is not working in our actual application. Our application runs in

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

2025-01-29 Thread Lukasz Lenart
śr., 29 sty 2025 o 09:39 Murali Challa napisał(a): > And do we need to have below constant and any other constant to be added in > our struts.xml file? > > No, you don't need that, I messed up with Struts 7 Cheers Łukasz - T

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

2025-01-29 Thread Murali Challa
OK, let me check on logs for some clue. And do we need to have below constant and any other constant to be added in our struts.xml file? On Wed, 29 Jan, 2025, 13:59 Lukasz Lenart, wrote: > śr., 29 sty 2025 o 08:46 Murali Challa > napisał(a): > > > Yes, this is what we are using in our appli

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

2025-01-29 Thread Lukasz Lenart
śr., 29 sty 2025 o 08:46 Murali Challa napisał(a): > Yes, this is what we are using in our application code. Same code we have > mentioned at beginning of this mailing. > > Just to keep it clear, our code looks as below. > > Action Class (extends ActionSupport): > > HttpSession session = ServletA

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

2025-01-28 Thread Murali Challa
Hi Lukasz, Yes, this is what we are using in our application code. Same code we have mentioned at beginning of this mailing. Just to keep it clear, our code looks as below. Action Class (extends ActionSupport): HttpSession session = ServletActionContext.getRequest().getSession(false); session.

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

2025-01-28 Thread Lukasz Lenart
Could you try to use: ? śr., 29 sty 2025 o 07:57 Murali Challa napisał(a): > > Session is referenced using > ServletActionContext.getRequest().getSession(false) in action classes. > > Our's is legacy application where all our action classes extend > xwork2.ActionSupport class and no annotation

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

2025-01-28 Thread Murali Challa
Session is referenced using ServletActionContext.getRequest().getSession(false) in action classes. Our's is legacy application where all our action classes extend xwork2.ActionSupport class and no annotations are used in it. Thanks, Murali On Wed, 29 Jan, 2025, 12:00 Lukasz Lenart, wrote:

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

2025-01-28 Thread Lukasz Lenart
wt., 28 sty 2025 o 07:31 Murali Challa napisał(a): > > We get the availableItems from session. > > That is the only difference in can see from your example. > > Can you try something link below and see if it works? > > > ${item.empid} > ${s.index} // index as well coming as empty > It works, b

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

2025-01-27 Thread Murali Challa
We get the availableItems from session. That is the only difference in can see from your example. Can you try something link below and see if it works? ${item.empid} ${s.index} // index as well coming as empty We set availableItems to session in our struts action layer as below. session.set

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

2025-01-27 Thread Lukasz Lenart
pon., 27 sty 2025 o 08:41 Murali Challa napisał(a): > > Hi Lukasz, > > Yes, the values in session exist. > > We are able to iterate through session.list and while trying to print values > of session.list using EL, empty values are getting printed. > > EL is inside tag and we can see table with e

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

2025-01-26 Thread Murali Challa
Hi Lukasz, Yes, the values in session exist. We are able to iterate through session.list and while trying to print values of session.list using EL, empty values are getting printed. EL is inside tag and we can see table with empty rows (here rows count is equal to session.list size) is getting

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

2025-01-26 Thread Lukasz Lenart
śr., 22 sty 2025 o 11:25 Murali Challa napisał(a): > Not sure why it is printing empty values while iterating through session > list. Could you confirm the value in session exists? Something like this: https://struts.apache.org/getting-started/http-session#accessing-http-session-objects-in-the-

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

2025-01-26 Thread Lukasz Lenart
Hi Heikki, First of all, could you start a new thread as this one is about migrating from Struts 2.5.x to 6.x and your problem is related to migrating to Struts 7.x? Also could you share a full example of your Java & JSP code? Looks like the and are connected based on the used ${subject} variabl

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

2025-01-26 Thread Dave Newton
On Sun, Jan 26, 2025 at 22:53 Heikki Hyyrö wrote: > I would of course *love* to provide a small example, but it seems a bit > difficult (would probably require quite considerable effort for just > that purpose). The application in question contains e.g. 100+ JSP files > and the pages are composed

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

2025-01-26 Thread Heikki Hyyrö
Hi, I would of course *love* to provide a small example, but it seems a bit difficult (would probably require quite considerable effort for just that purpose). The application in question contains e.g. 100+ JSP files and the pages are composed in a component-wise/hierarchical manner with the

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

2025-01-26 Thread M Huzaifah
Hii Heikki Hyyro, Could you please provide us small project that contain your problem, so all of us in here can help you up. Thank you On Sun, Jan 26, 2025 at 5:26 PM Heikki Hyyrö wrote: > > Thanks Lukasz, > > and sorry about the confusion! Yes, I did browse through some of the > release notes

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

2025-01-26 Thread Heikki Hyyrö
Thanks Lukasz, and sorry about the confusion! Yes, I did browse through some of the release notes after your and Wolfgang's comments regarding xwork2 packages. At that point I then added name="struts.allowlist.enable" value="false"/> in struts.xml. But it seems I at the same time also accident

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

2025-01-26 Thread Lukasz Lenart
These kinds of issues are very hard to debug or investigate, so it would be good to prepare a small demo app reproducing the issue. You can use one of the struts-examples app as a starting point https://github.com/apache/struts-examples/ Thanks in advance Łukasz -

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

2025-01-25 Thread Lukasz Lenart
czw., 23 sty 2025 o 22:37 Heikki Hyyrö napisał(a): > > Dear all, > > I am having somewhat similar problems after upgrading from 6.3.0.2 to > 7.0.0. It has become very difficult to refer to variables inside JSP code! > > The first symptom I inspected was quite identical to Murali's problem: > refer

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

2025-01-23 Thread Heikki Hyyrö
Dear all, I am having somewhat similar problems after upgrading from 6.3.0.2 to 7.0.0. It has become very difficult to refer to variables inside JSP code! The first symptom I inspected was quite identical to Murali's problem: referring to an attribute via the iterator variable name does not s

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

2025-01-22 Thread Nate Kerkhofs
ency and a MVP project like that will definitely help the Struts team investigate this. Cheers, Nate -Original Message- From: Murali Challa Sent: Wednesday, 22 January 2025 12:45 To: Struts Users Mailing List ; lukaszlen...@apache.org Subject: Re: Facings issues while migrating from St

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

2025-01-22 Thread Murali Challa
No luck. It is not working. Was there some issue with EL for using inside struts tags? On Wed, 22 Jan, 2025, 16:56 Lukasz Lenart, wrote: > śr., 22 sty 2025 o 11:25 Murali Challa > napisał(a): > > Pure EL is working fine. > > > > Not sure why it is printing empty values while iterating through

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

2025-01-22 Thread Lukasz Lenart
śr., 22 sty 2025 o 11:25 Murali Challa napisał(a): > Pure EL is working fine. > > Not sure why it is printing empty values while iterating through session > list. One more thing, try this: // working ${id} // Not working if works, something has been broken in the framework Cheers Łukasz

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

2025-01-22 Thread Murali Challa
Hi, Pure EL is working fine. Not sure why it is printing empty values while iterating through session list. Thanks, Murali On Wed, 22 Jan, 2025, 14:43 Lukasz Lenart, wrote: > śr., 22 sty 2025 o 09:55 Murali Challa > napisał(a): > > > > Hi, > > > > We are migrating our application from struts

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

2025-01-22 Thread Lukasz Lenart
śr., 22 sty 2025 o 09:55 Murali Challa napisał(a): > > Hi, > > We are migrating our application from struts2-core 2.5.33 to 6.7.0. > > Post migration, we are facing issues while populating bean values in > session. > > ${} is printing null values. Seems the EL is not working post 6.x migration. >

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

2025-01-13 Thread Lukasz Lenart
I don't recall changes in this area, only this one but it was in Struts 2.3 https://issues.apache.org/jira/browse/WW-4073 niedz., 12 sty 2025 o 04:22 Murali Challa napisał(a): > > Hi, > > We are migrating our application from struts2-core 2.5.33 to 6.7.0. > > Post migration, we are facing issues