Hi Lukasz,
Sorry, it was a false alarm to report Struts2 failed to dispatch in case of
duplicate names in the same namespace. I used System.out to monitor the flow
and I didn't see what I expected to see and thought it silently failed. I now
switch to log4j2 framework and can verify the flow fr
śr., 11 cze 2025 o 00:59 Joseph Huynh
napisał(a):
>
> Hi Lukasz,
> I just figured out that I had bundled struts.xml in wrong place in WEB-INF/
> instead of in WEB-INF/classes/. It is dispatching correctly now. My
> struts.xml is mostly fine except for the duplicate result name in the same
> na
Hi Lukasz,
I just figured out that I had bundled struts.xml in wrong place in WEB-INF/
instead of in WEB-INF/classes/. It is dispatching correctly now. My struts.xml
is mostly fine except for the duplicate result name in the same namespace. I
think Struts2 fails (silently) to dispatch in this c
Hi Joseph,
sorry I can not help with your namespace issues but I would update
struts.xml:
http://struts.apache.org/dtds/struts-6.0.dtd";>
and get rid of xwork-core-2.3.35.jar which is not part of struts 7.0.3 any more.
Best regards
Ute
--
Is there a chance to expose source code of your app on Github? And I
would suggest learning how to use Maven to build the app instead of
Ant.
Cheers
Lukasz
pt., 6 cze 2025 o 18:49 Joseph Huynh
napisał(a):
>
> Hello,
> I have a simple web application to learn how the controller works in Struts
Hello,
I have a simple web application to learn how the controller works in Struts
framework. The build is deployed to Tomcat 11.0.5. The application has two
simple JSP files PgStudent.jsp (configured as the welcome page) and
PgRegistration.jsp. Each page has two buttons to let user go back and
6 matches
Mail list logo