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

2022-10-13 Thread Hitesh Fulchand Jaiswar
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 for Windows From: Hitesh Fulchand Jaiswar Sent: Friday

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

2022-10-13 Thread Hitesh Fulchand Jaiswar
Hii sir Can you take my any desk number help to understand where I am wrong, because I am very confuses on this. Sent from Mail for Windows From: Lukasz Lenart Sent: Friday, October 14, 2022 11:56 AM To: Struts Users

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
Hii sir That’s all example is struts1 I need sturts2 example Sent from Mail for Windows From: Lukasz Lenart Sent: Friday, October 14, 2022 11:27 AM To: Struts Users Mailing List Subje

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

2022-10-13 Thread Hitesh Fulchand Jaiswar
Hii sir Thank you to support me Sent from Mail for Windows From: Lukasz Lenart Sent: Friday, October 14, 2022 11:27 AM To: Struts Users Mailing List Subject: Re: Can anyone help to run

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://github.com/apache/s

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ź 2022 o

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
Hii sir , This url I am seeing In my program http://localhost:8080/Struts2Example/ Sent from Mail for Windows From: Lukasz Lenart Sent: Thursday, October 13, 2022 6:08 PM To: Struts Users Mailing List

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
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 . Sent from Mail for Windows From: Lukasz Lenart Sent: Thursday, October 13, 2022 5

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
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 version of both [cid:image003.png@01D8DF24.EFC918A0] This struts 2 :- http://st

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
Hii sir , This my eclipse ss can you tell me where I am wrong . [cid:image002.png@01D8DF23.9E792AE0] Sent from Mail for Windows From: Hitesh Fulchand Jaiswar Sent: Thursday, October 13, 2022 4:39 PM To: Stru

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

2022-10-13 Thread Hitesh Fulchand Jaiswar
Hii Lukasz, Yeah know 404 errors Is your java code is not finding a your code . But I try to solve this issue so many time but same issue accrues. This my struts.xml http://struts.apache.org/dtds/struts-2.0.dtd";>

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 error code, not related t

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 mixing it into a different topic. 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 HITESH jaiswar On 13-Oct-2022 12:56 pm, Lukasz Lenart wrote: You must only re-implement OpenSessionBackgroundProcess as follow: public class OpenSessionBackgroundProcess exte

Re: Race condition in recommended "OpenSessionBackProccess" class

2022-10-13 Thread Lukasz Lenart
You must only re-implement OpenSessionBackgroundProcess as follow: public class OpenSessionBackgroundProcess extends StrutsBackgroundProcess { private final EntityManagerFactory entityManagerFactory; // used for synchronization private final Object lock = new Object(); public Op