I don't know if this is the best fix for the problem but it worked for me, I changed

   public ActionForward perform(ActionMapping mapping,
        ActionForm form,
        HttpServletRequest request,
        HttpServletResponse response)

to

   public ActionForward execute(ActionMapping mapping,
        ActionForm form,
        HttpServletRequest request,
        HttpServletResponse response)

I couldn't get it to work any other way.

Jim


From: Sylvain ~ <[EMAIL PROTECTED]>
Reply-To: Sylvain ~ <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: An Other "Blank Page" issue
Date: Thu, 9 Dec 2004 22:20:50 +0900

Hi,

I'm quite new to struts, and I'm trying to make a simple example taken
from a website.
The first page show a formular, and when submited it is automatically
forwarded to an other page.

the problem is that when I submit, I get an absolute blank page, the
source is "<html><body></body></html>".

I checked Tomcat logs, and There is nothing wrong, the only thing is
that I'm sure is that the Action (in my case LoginAction) is not
performed because it produces a stdout output.

See attached files for details about code
<< struts-config.xml >>
<< connected.jsp >>
<< loginform.jsp >>
<< LoginAction.java >>
<< LoginForm.java >>
---------------------------------------------------------------------
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