I think you need <forward name="success" path="/dashboard.do"/> in your
actionforward for logic action

-----Original Message-----
From: Monajit Choudhury [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 12:01 PM
To: Struts Users Mailing List
Subject: HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1


Hi
   I am facing a problem.I have a login page.After a person logs in, he
should be taken to another page, but via an action class(path=/dashboard)
which will create the data to be shown in that page.But that action class is
not invoked atall.
Here is a snippet of my struts-config.xml file.

<action     path="/login"
                type="com.puma.gbs.uma.action.LoginAction"
            name="loginForm"
                input="/pages/puma_login.jsp">
    <forward name="success"
       path="/dashboard"/>
    <forward name="failure" path="/pages/puma_login.jsp" redirect="true"/>

 </action>


 <action   path="/dashboard"
type="com.puma.gbs.dashboard.action.DashboardAction"
              name="dashboardForm"
              input="/pages/db/main.jsp"
              scope="request">
    <forward name="viewDashboard" path="/pages/db/dashboard.jsp"/>
    <forward name="failure" path="/index.jsp"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to