Yes,
that's the way i done it.
I have another question. I don't know how handle my confirmation page. Here is what i've done:
My "mail.jsp" page sets up the SendMailForm bean and then simply forwards to the "confirmationEnvoi.jsp" page:
<action name="sendMailForm"...
Hi,
i want to send an email in a struts-based application:
I have a SendMailForm form with "Subject" "To" and "Body" fields. Then I have a confirmation page where i display the mail again and the user has to validate. Finally I have a SendMailAction which is supposed to send the mail and then...
i don't think it answers my question. I have this in my struts-config.xml:
<action-mappings>
<action name="loginForm" type="fr.gouv.sante.dhos.web.LoginAction" validate="true" input="/login.jsp" scope="session" path="/loginAction">
<forward name="user" path="/user_index.jsp" />...
Hi,
I'm quite a newbie in Struts and I have a question:
I have a login.jsp page with LoginForm and LoginAction classe associated with it. The user enters his login and password and if they are matching, the "user" bean is stocked to the session and the user is redirected to the main.jsp page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.