Hello world,

i'm trying to modify a simple and sample banking webapp from :

http://examples.oreilly.com/0596006519/

To reach a login page, their parameter in struts-config.xml is like :

<action
    path="/login"
    type="com.oreilly.struts.banking.action.LoginAction"
    scope="request"
    name="loginForm"
    validate="true"
    input="/login.jsp">
    <forward name="Success" path="/action/getaccountinformation"
redirect="true"/>
    <forward name="Failure" path="/login.jsp" redirect="true"/>
  </action>


I've neerly the same need, so i did neerly the same :

<action  path="/authentication"  
type="com.equant.ref_ce.action.AuthenticationAction"
 name="AuthenticationForm"
 scope="request"
 input="authenticationLayout"
 validate="false">     
   <forward name="Sucess" path="/action/menu" redirect="true"/>
</action> 

The only difference i see, is my input is a tile. And the annoying
behaviour i see, is my configuration make a direct call to the execute
of my Action (throwing an exception, and so on ...). With the banking
app it does not. Of course.

Where the thing i havn't understood ?
Please help.

another newbie to struts,


_____________________________________________________________________
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m

___[ Pub ]____________________________________________________________
Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4


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

Reply via email to