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 :- <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <package name="user" namespace="/User" extends="struts-default"> <action name="Login"> <result>pages/login.jsp</result> </action> <action name="Welcome" class="com.hit.user.action"> <result name="success">pages/welcome_user.jsp</result> </action> </package> </struts> 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 <[email protected]> napisał(a): > <action name="Welcome" > class="com.hit.user.action"> > <result > name="SUCCESS">pages/welcome_user.jsp</result> 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]

