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 <lukasz.len...@gmail.com>
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 <mahabir...@gmail.com> 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 <lukaszlen...@apache.org>
> > 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 <mahabir...@gmail.com>
> 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 <
> lukaszlen...@apache.org>
> > > > wrote:
> > > >
> > > > > śr., 12 lut 2025 o 05:17 Mahabir Gupta <mahabir...@gmail.com>
> > > 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: user-unsubscr...@struts.apache.org
> > > > > For additional commands, e-mail: user-h...@struts.apache.org
> > > > >
> > > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > > For additional commands, e-mail: user-h...@struts.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to