Re: Unable to display the jsp - 404 Resource not found

2025-02-14 Thread Mahabir Gupta
Dear Lukasz,

Noted with thanks.

Regards
Mahabir

On Fri, 14 Feb 2025 at 8:51 PM, Lukasz Lenart 
wrote:

> pt., 14 lut 2025 o 09:01 Mahabir Gupta  napisał(a):
> > Struts2 requires which Java minimum? Kindly advise.
>
> I already answered that, term Struts it's a synonym of Struts2 these
> days. Here is some explanation about the change in the naming
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199528107#VersionNotes6.0.0-Versionchange
>
>
>
> Cheers
> Łukasz
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-14 Thread Lukasz Lenart
pt., 14 lut 2025 o 09:01 Mahabir Gupta  napisał(a):
> Struts2 requires which Java minimum? Kindly advise.

I already answered that, term Struts it's a synonym of Struts2 these
days. Here is some explanation about the change in the naming
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=199528107#VersionNotes6.0.0-Versionchange



Cheers
Łukasz

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



Re: Unable to display the jsp - 404 Resource not found

2025-02-14 Thread Mahabir Gupta
Dear Lukasz,

Struts2 requires which Java minimum? Kindly advise.
Thank you.

Regards
Mahabir


On Fri, 14 Feb 2025 at 3:05 PM, Lukasz Lenart 
wrote:

> pt., 14 lut 2025 o 05:06 Mahabir Gupta  napisał(a):
> > Is Struts2 compatible with Java 17. Kindly advise.
>
> Struts 6.x requires Java 8 as minimum, Struts 7.x requires Java 17 as
> minimum
>
>
> Cheers
> Łukasz
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-13 Thread Lukasz Lenart
pt., 14 lut 2025 o 05:06 Mahabir Gupta  napisał(a):
> Is Struts2 compatible with Java 17. Kindly advise.

Struts 6.x requires Java 8 as minimum, Struts 7.x requires Java 17 as minimum


Cheers
Łukasz

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



Re: Unable to display the jsp - 404 Resource not found

2025-02-13 Thread Mahabir Gupta
Dear Lukasz,

Is Struts2 compatible with Java 17. Kindly advise.
Thank you.

Regards
Mahabir

On Fri, Feb 14, 2025 at 12:08 AM Lukasz Lenart 
wrote:

> I have no idea why it doesn't work, I don't use Eclipse so I cannot
> use your source code from Github.
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-13 Thread Lukasz Lenart
I have no idea why it doesn't work, I don't use Eclipse so I cannot
use your source code from Github.

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



Re: Unable to display the jsp - 404 Resource not found

2025-02-13 Thread Mahabir Gupta
Dear Lukasz,

Any updates on how I can resolve this issue please.
Thank you.

Regards
Mahabir

On Wed, Feb 12, 2025 at 7:07 PM Lukasz Lenart 
wrote:

> śr., 12 lut 2025 o 11:11 Mahabir Gupta  napisał(a):
> >
> > http://localhost:8080/Struts2Starter/tutorials/getTutorial.action
> >
> > 404 Error.
>
> I assume it doesn't work. What happens when you open this link
> http://localhost:8080/Struts2Starter/index.jsp
> Do you see this
> https://github.com/MahabirGupta/Struts2Starter/blob/main/web/login.jsp#L10
> ?
>
>
> Cheers
> Lukasz
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-12 Thread Mahabir Gupta
Hi,

I am actually following this youtube tutorial video on Struts2
https://www.youtube.com/watch?v=wYkh87-hbiI
In the video, the tutor is not using Maven or gradle. It is using a simple
web application by defining the jar files in the class path. My main page
can be loaded but not the other pages.

http://localhost:8080/Struts2Starter/

It loads the index.jsp page.

http://localhost:8080/Struts2Starter/tutorials/getTutorial

HTTP Status 404 – Not Found
--

*Type* Status Report

*Message* There is no Action mapped for action name getTutorial.

*Description* The origin server did not find a current representation for
the target resource or is not willing to disclose that one exists.
--
Apache Tomcat/9.0.82
The problem is nothing is being displayed on the console.

https://github.com/MahabirGupta/Struts2Starter

Thank you.

Regards
Mahabir

On Thu, Feb 13, 2025 at 10:35 AM   wrote:

> Hi Mahabir
> I have try your repository
> You better use Control tools like Maven or gradle
> Cause the settings actually not get resources like struts.xml or log4j in
> Eclipse IDE
> But even I set resources in Deployment Assembly still have other problem
>
> Best regards
>
> Mahabir Gupta  於 2025年2月12日 週三 下午8:56 寫道:
>
> > It goes to the index.jsp page
> >
> > http://localhost:8080/Struts2Starter/index.jsp
> >
> > Index
> >
> > On Wed, Feb 12, 2025 at 7:07 PM Lukasz Lenart 
> > wrote:
> >
> > > śr., 12 lut 2025 o 11:11 Mahabir Gupta 
> > napisał(a):
> > > >
> > > > http://localhost:8080/Struts2Starter/tutorials/getTutorial.action
> > > >
> > > > 404 Error.
> > >
> > > I assume it doesn't work. What happens when you open this link
> > > http://localhost:8080/Struts2Starter/index.jsp
> > > Do you see this
> > >
> >
> https://github.com/MahabirGupta/Struts2Starter/blob/main/web/login.jsp#L10
> > > ?
> > >
> > >
> > > Cheers
> > > Lukasz
> > >
> > > -
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-12 Thread 哈哈哈哈
Hi Mahabir
I have try your repository
You better use Control tools like Maven or gradle
Cause the settings actually not get resources like struts.xml or log4j in
Eclipse IDE
But even I set resources in Deployment Assembly still have other problem

Best regards

Mahabir Gupta  於 2025年2月12日 週三 下午8:56 寫道:

> It goes to the index.jsp page
>
> http://localhost:8080/Struts2Starter/index.jsp
>
> Index
>
> On Wed, Feb 12, 2025 at 7:07 PM Lukasz Lenart 
> wrote:
>
> > śr., 12 lut 2025 o 11:11 Mahabir Gupta 
> napisał(a):
> > >
> > > http://localhost:8080/Struts2Starter/tutorials/getTutorial.action
> > >
> > > 404 Error.
> >
> > I assume it doesn't work. What happens when you open this link
> > http://localhost:8080/Struts2Starter/index.jsp
> > Do you see this
> >
> https://github.com/MahabirGupta/Struts2Starter/blob/main/web/login.jsp#L10
> > ?
> >
> >
> > Cheers
> > Lukasz
> >
> > -
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-12 Thread Mahabir Gupta
It goes to the index.jsp page

http://localhost:8080/Struts2Starter/index.jsp

Index

On Wed, Feb 12, 2025 at 7:07 PM Lukasz Lenart 
wrote:

> śr., 12 lut 2025 o 11:11 Mahabir Gupta  napisał(a):
> >
> > http://localhost:8080/Struts2Starter/tutorials/getTutorial.action
> >
> > 404 Error.
>
> I assume it doesn't work. What happens when you open this link
> http://localhost:8080/Struts2Starter/index.jsp
> Do you see this
> https://github.com/MahabirGupta/Struts2Starter/blob/main/web/login.jsp#L10
> ?
>
>
> Cheers
> Lukasz
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-12 Thread Lukasz Lenart
śr., 12 lut 2025 o 11:11 Mahabir Gupta  napisał(a):
>
> http://localhost:8080/Struts2Starter/tutorials/getTutorial.action
>
> 404 Error.

I assume it doesn't work. What happens when you open this link
http://localhost:8080/Struts2Starter/index.jsp
Do you see this
https://github.com/MahabirGupta/Struts2Starter/blob/main/web/login.jsp#L10
?


Cheers
Lukasz

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



Re: Unable to display the jsp - 404 Resource not found

2025-02-12 Thread Mahabir Gupta
http://localhost:8080/Struts2Starter/tutorials/getTutorial.action

404 Error.

Thank you.

Regards
Mahabir

On Wed, 12 Feb 2025 at 5:16 PM, Lukasz Lenart 
wrote:

> śr., 12 lut 2025 o 08:56 Mahabir Gupta  napisał(a):
> >
> > Dear Lukasz,
> >
> > My current Struts2 project is also a very simple web app.
> >
> > http://localhost:8080/Struts2Starter/
> >
> > It loads the index.jsp page.
> >
> > http://localhost:8080/Struts2Starter/tutorials/getTutorial
>
> Could you use this link
> http://localhost:8080/Struts2Starter/tutorials/getTutorial.action ?
>
> Cheers
> Łukasz
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-12 Thread Lukasz Lenart
śr., 12 lut 2025 o 08:56 Mahabir Gupta  napisał(a):
>
> Dear Lukasz,
>
> My current Struts2 project is also a very simple web app.
>
> http://localhost:8080/Struts2Starter/
>
> It loads the index.jsp page.
>
> http://localhost:8080/Struts2Starter/tutorials/getTutorial

Could you use this link
http://localhost:8080/Struts2Starter/tutorials/getTutorial.action ?

Cheers
Łukasz

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



Re: Unable to display the jsp - 404 Resource not found

2025-02-11 Thread Mahabir Gupta
Dear Lukasz,

My current Struts2 project is also a very simple web app.

http://localhost:8080/Struts2Starter/

It loads the index.jsp page.

http://localhost:8080/Struts2Starter/tutorials/getTutorial

HTTP Status 404 – Not Found
--

*Type* Status Report

*Message* There is no Action mapped for action name getTutorial.

*Description* The origin server did not find a current representation for
the target resource or is not willing to disclose that one exists.
--
Apache Tomcat/9.0.82
The problem is nothing is being displayed on the console.

https://github.com/MahabirGupta/Struts2Starter

The execute method of the TutorialAction class is not being executed so the
System.out.println("Hello from execute method");
is not being displayed on the console either. The youtube link that you
have sent me seems to be
more complicated than my current application. And it is a continuation from
a previously created Struts
hello-world application which makes it more difficult to follow. Thank you.

Regards
Mahabir

On Wed, Feb 12, 2025 at 3:30 PM Łukasz Lenart 
wrote:

> Could you follow this tutorial? It uses Struts 2.5.x and starts with
> just a simple Web app and then adds Struts.
>
> https://www.youtube.com/watch?v=HVHlkWvOmOw
>
> śr., 12 lut 2025 o 07:53 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 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 – Not Found
> > --
> >
> > *Type* Status Report
> >
> > *Message* There is no Action mapped for action name getTutorial.
> >
> > *Description* The origin server did not find a current representation for
> > the target resource or is not willing to disclose that one exists.
> > --
> > Apache Tomcat/9.0.82
> >
> > On Wed, Feb 12, 2025 at 2:46 PM Lukasz Lenart 
> > wrote:
> >
> > > 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 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 – Not Found
> > > > --
> > > >
> > > > *Type* Status Report
> > > >
> > > > *Message* There is no Action mapped for action name getTutorial.
> > > >
> > > > *Description* The origin server did not find a current
> representation for
> > > > the target resource or is not willing to disclose that one exists.
> > > > --
> > > > Apache Tomcat/9.0.82
> > > > Kindly advise. Thank you.
> > > >
> > > > Regards
> > > > Mahabir
> > > >
> > > > On Wed, Feb 12, 2025 at 2:16 PM Lukasz Lenart <
> [email protected]>
> > > > wrote:
> > > >
> > > > > ś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 are already included in
> > > > > struts2-core-2.5.8.jar
> > > > >
> > > > >
> > > > > Regards
> > > > > Łukasz
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: [email protected]
> > > > > For additional commands, e-mail: [email protected]
> > > > >
> > > > >
> > >
> > > -
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: Unable to display the jsp - 404 Resource not found

2025-02-11 Thread Łukasz Lenart
Could you follow this tutorial? It uses Struts 2.5.x and starts with
just a simple Web app and then adds Struts.

https://www.youtube.com/watch?v=HVHlkWvOmOw

śr., 12 lut 2025 o 07:53 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 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 – Not Found
> --
>
> *Type* Status Report
>
> *Message* There is no Action mapped for action name getTutorial.
>
> *Description* The origin server did not find a current representation for
> the target resource or is not willing to disclose that one exists.
> --
> Apache Tomcat/9.0.82
>
> On Wed, Feb 12, 2025 at 2:46 PM Lukasz Lenart 
> wrote:
>
> > 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 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 – Not Found
> > > --
> > >
> > > *Type* Status Report
> > >
> > > *Message* There is no Action mapped for action name getTutorial.
> > >
> > > *Description* The origin server did not find a current representation for
> > > the target resource or is not willing to disclose that one exists.
> > > --
> > > Apache Tomcat/9.0.82
> > > Kindly advise. Thank you.
> > >
> > > Regards
> > > Mahabir
> > >
> > > On Wed, Feb 12, 2025 at 2:16 PM Lukasz Lenart 
> > > wrote:
> > >
> > > > ś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 are already included in
> > > > struts2-core-2.5.8.jar
> > > >
> > > >
> > > > Regards
> > > > Łukasz
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [email protected]
> > > > For additional commands, e-mail: [email protected]
> > > >
> > > >
> >
> > -
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >

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



Re: Unable to display the jsp - 404 Resource not found

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 – Not Found
--

*Type* Status Report

*Message* There is no Action mapped for action name getTutorial.

*Description* The origin server did not find a current representation for
the target resource or is not willing to disclose that one exists.
--
Apache Tomcat/9.0.82

On Wed, Feb 12, 2025 at 2:46 PM Lukasz Lenart 
wrote:

> 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 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 – Not Found
> > --
> >
> > *Type* Status Report
> >
> > *Message* There is no Action mapped for action name getTutorial.
> >
> > *Description* The origin server did not find a current representation for
> > the target resource or is not willing to disclose that one exists.
> > --
> > Apache Tomcat/9.0.82
> > Kindly advise. Thank you.
> >
> > Regards
> > Mahabir
> >
> > On Wed, Feb 12, 2025 at 2:16 PM Lukasz Lenart 
> > wrote:
> >
> > > ś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 are already included in
> > > struts2-core-2.5.8.jar
> > >
> > >
> > > Regards
> > > Łukasz
> > >
> > > -
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>