Hi.

Check the log files of your container to see the errors.

Usualy this occurs because of wrong path of the JSP
Check the line

<forward name="success-login" path="/index2.jsp" />


----- Original Message -----
From: "Bert Catsburg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 5:44 PM
Subject: Action not executed, only the *.do url is shown and the screen is
empty


> Hello,
>
> I have the problem that an Action is not executed.
> When I process the Form (by clicking Submit button), the
> .do url is shown in the addressbar and an empty screen
> is shown.
>
>
> The start of the Action javafile does some logging (using
> Log4J), but I see nothing in the MySQL (to where I am logging to).
> The ActionForm also does some logging to the same Log4J appender
> (in the first setter) and that one is shown.
>
> Below is the struts-config.xml file (only the Action), it's
> quite standard as you see.
>
>      <!-- Process a user logon -->
>      <action    path="/logon"
>                 type="fimp.logon.LogonAction"
>                 name="logonForm"
>                 scope="request"
>                 validate="false"
>                 input="/logon.jsp">
>        <forward name="success-login" path="/index2.jsp" />
>
>      </action>
>
> Also, the first couple of lines from the Action:
>
>    package fimp.logon;
>
>    // <<imports removed from this extract
>    public class LogonAction extends Action {
>
>       public ActionForward execute(ActionMapping mapping,
>                                     ActionForm form,
>                                     HttpServletRequest request,
>                                     HttpServletResponse response)
>       throws IOException, ServletException {
>
>      Logger log = Logger.getLogger(LogonAction.class);
>        log.debug("Entered the LogonAction class");
>
>
> If anybody can help me, it would be appreciated.
>
> Thank you,
>
> Bert Catsburg
>
>
> ---------------------------------------------------------------------
> 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