You most likely have a NullPointerException occuring somewhere in your
Action.perform(). This has happened to me many times - you can find the
error with a debugger, or trap the Exception with a catch block.
Otherwise you can use servlet.log() in your perform method to determine
what is going on at each line of code (view in the webapp logfile).
Also look at the logfile for your overall servlet container.
Roman
-----Original Message-----
From: Randall Dietz
Sent: Wed 7/25/2001 5:06 PM
To: '[EMAIL PROTECTED]'
Cc:
Subject: RE: Empty Page returned after Action executed
I have some further information that might help solve my
problem.
I've narrowed it down to the ActionForm that I created. If the
validate()
method does NOT return an error (validate method not implemented
or returns
empty ActionErrors object), an empty HTML page is returned by
Struts to the
browser. If there is at least one error returned by the
ActionForm, then
the JSP page is displayed correctly.
Obviously there's something about Struts I haven't got my head
wrapped
around yet.
Here's the action mapping I'm using:
<action path="/list"
type="com.mim.pilot2.ListShipmentsAction"
name="listForm"
scope="request"
input="/shiplist.jsp" />
NB - I've tried the above with validate="false"... with the same
result.
The empty page that is returned by Struts looks like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
Can anyone help shed some light on this?
thanks,
randall
**********************************************************************
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
e-mail: [EMAIL PROTECTED]
phone: Australia 1800500646
International ++61 7 38338042
**********************************************************************
winmail.dat