Hii Lukasz Lenart<mailto:lukaszlen...@apache.org>,


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:image003.png@01D8DF24.EFC918A0]


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:lukaszlen...@apache.org>
Sent: Thursday, October 13, 2022 4:53 PM
To: Struts Users Mailing List<mailto:user@struts.apache.org>
Subject: Re: Can anyone help to run my first' code in struts2

czw., 13 paź 2022 o 13:09 Hitesh Fulchand Jaiswar
<hitesh.jais...@csinfocomm.com> 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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to