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 哈哈哈哈 <yangg9...@gmail.com> 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 <mahabir...@gmail.com> 於 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 <lukaszlen...@apache.org> > > wrote: > > > > > śr., 12 lut 2025 o 11:11 Mahabir Gupta <mahabir...@gmail.com> > > 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: user-unsubscr...@struts.apache.org > > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > >