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

2022-10-14 Thread Hitesh Fulchand Jaiswar
Hii sir

That's means first i need to learn maven

On 14-Oct-2022 12:59 pm, Lukasz Lenart  wrote:
All those examples are using Maven to build projects, so you must know
Maven first. If you are using Eclipse there is a plugin to support Maven
based projects in Eclipse.

About the error, I have no idea what are doing - the form-processing
example works for me, just start it using Jetty:

cd form-processing
mvn jetty:run

and open http://localhost:8080/form-processing/ in a browser

pt., 14 paź 2022 o 09:16 Hitesh Fulchand Jaiswar <
[email protected]> napisał(a):

> 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 run 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:[email protected]
> >
> Sent: Friday, October 14, 2022 12:05 PM
> To: Struts Users Mailing List<mailto:[email protected]
> >
> 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 this.
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
>
> From: Lukasz Lenart<mailto:[email protected]
> >
> Sent: Friday, October 14, 2022 11:56 AM
> To: Struts Users Mailing List<mailto:[email protected]
> >
> 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 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
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


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

2022-10-14 Thread Lukasz Lenart
All those examples are using Maven to build projects, so you must know
Maven first. If you are using Eclipse there is a plugin to support Maven
based projects in Eclipse.

About the error, I have no idea what are doing - the form-processing
example works for me, just start it using Jetty:

cd form-processing
mvn jetty:run

and open http://localhost:8080/form-processing/ in a browser

pt., 14 paź 2022 o 09:16 Hitesh Fulchand Jaiswar <
[email protected]> napisał(a):

> 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 run 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:[email protected]
> >
> Sent: Friday, October 14, 2022 12:05 PM
> To: Struts Users Mailing List<mailto:[email protected]
> >
> 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 this.
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
>
> From: Lukasz Lenart<mailto:[email protected]
> >
> Sent: Friday, October 14, 2022 11:56 AM
> To: Struts Users Mailing List<mailto:[email protected]
> >
> 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 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
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


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

[cid:12dc73e0-a6d6-4272-8a35-ea465228b09c]

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 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:[email protected]>
Sent: Friday, October 14, 2022 12:05 PM
To: Struts Users Mailing List<mailto:[email protected]>
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 this.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Friday, October 14, 2022 11:56 AM
To: Struts Users Mailing List<mailto:[email protected]>
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 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

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Hitesh Fulchand Jaiswar<mailto:[email protected]>
Sent: Friday, October 14, 2022 12:05 PM
To: Struts Users Mailing List<mailto:[email protected]>
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 this.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Friday, October 14, 2022 11:56 AM
To: Struts Users Mailing List<mailto:[email protected]>
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 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

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Friday, October 14, 2022 11:56 AM
To: Struts Users Mailing List<mailto:[email protected]>
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 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

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Friday, October 14, 2022 11:27 AM
To: Struts Users Mailing List<mailto:[email protected]>
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 [1], please try this one [2]

[1] https://github.com/apache/struts-examples
[2] https://github.com/apache/struts-examples/tree/master/form-processing


Regards
Łukasz

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Friday, October 14, 2022 11:27 AM
To: Struts Users Mailing List<mailto:[email protected]>
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 [1], please try this one [2]

[1] https://github.com/apache/struts-examples
[2] https://github.com/apache/struts-examples/tree/master/form-processing


Regards
Łukasz

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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/struts-examples/tree/master/form-processing


Regards
Łukasz

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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 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 struts.xml

I suggest adding adding a package supporting default namespace with
redirect to /User/Welcome action




/User/Welcome

 

 
...

[1] https://www.w3schools.blog/welcome-file-list-in-web-xml
[2] 
https://struts.apache.org/core-developers/action-configuration#action-default


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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 struts.xml

I suggest adding adding a package supporting default namespace with
redirect to /User/Welcome action




/User/Welcome

 

 
...

[1] https://www.w3schools.blog/welcome-file-list-in-web-xml
[2] 
https://struts.apache.org/core-developers/action-configuration#action-default


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Thursday, October 13, 2022 6:08 PM
To: Struts Users Mailing List<mailto:[email protected]>
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 showing user name +welcome .

What url do you see in your browser?


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Thursday, October 13, 2022 5:04 PM
To: Struts Users Mailing List<mailto:[email protected]>
Subject: Re: Can anyone help to run my first' code in struts2

czw., 13 paź 2022 o 13:28 Hitesh Fulchand Jaiswar <
[email protected]> 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 version
> of both
>

What request do you perform?


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/



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 <
[email protected]> 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 version
> of both
>

What request do you perform?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/


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

2022-10-13 Thread Hitesh Fulchand Jaiswar
Hii Lukasz Lenart<mailto:[email protected]>,


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:[email protected]]


This struts 2 :-

http://struts.apache.org/dtds/struts-2.0.dtd";>





pages/login.jsp


pages/welcome_user.jsp




Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Thursday, October 13, 2022 4:53 PM
To: Struts Users Mailing List<mailto:[email protected]>
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">pages/welcome_user.jsp

This is wrong, there is no result "SUCCESS", use "success" instead or
remove the name parameter as "success" is a default result.
https://struts.apache.org/core-developers/dispatcher-result


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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 name parameter as "success" is a default result.
https://struts.apache.org/core-developers/dispatcher-result


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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:[email protected]]
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Hitesh Fulchand Jaiswar<mailto:[email protected]>
Sent: Thursday, October 13, 2022 4:39 PM
To: Struts Users Mailing List<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
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  to solve this issue so many time but same issue accrues.


This my struts.xml



http://struts.apache.org/dtds/struts-2.0.dtd";>





pages/login.jsp


pages/welcome_user.jsp






This is my web.xml

http://java.sun.com/dtd/web-app_2_3.dtd"; >


Struts 2 Web Application


struts2


org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter




struts2
/*




Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Thursday, October 13, 2022 4:22 PM
To: Struts Users Mailing List<mailto:[email protected]>
Subject: Re: Can anyone help to run my first' code in struts2

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 to Struts), so please share struts.xml and web.xml and
what request do you perform


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




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";>





pages/login.jsp


pages/welcome_user.jsp






This is my web.xml

http://java.sun.com/dtd/web-app_2_3.dtd"; >


Struts 2 Web Application


struts2


org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter




struts2
/*




Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Lukasz Lenart<mailto:[email protected]>
Sent: Thursday, October 13, 2022 4:22 PM
To: Struts Users Mailing List<mailto:[email protected]>
Subject: Re: Can anyone help to run my first' code in struts2

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 to Struts), so please share struts.xml and web.xml and
what request do you perform


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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 to Struts), so please share struts.xml and web.xml and
what request do you perform


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



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.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]