> -----Original Message----- > From: Sheehan, Andrew [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 10:43 AM > To: [EMAIL PROTECTED] > Subject: Initial invocation (HTTP GET) Instantiates an > Action, but does > not invoke execute(...) > > > Good Afternoon, > > > > > > An instance of a my Action class only has its' constructor > firing when the > ActionServlet first loads it, when the execute(...) function should be > invoked at some point afterward. I do not have any need for > a ActionForm > with this specific request; only that the request must pull > information out > of the database, which would occur if the execute(..) > function happened. > > > > My struts-config file is very small; this is the beginning of > my integration > work with a application that does not use Struts (soon to > change if I make > some progress :-) )
You have no forwards configured, so your action goes nowhere, which happens to be a blank page. > > > > Here is my struts-config.xml: > > > > <?xml version="1.0" encoding="ISO-8859-1" ?> > > > > <!DOCTYPE struts-config PUBLIC > > "-//Apache Software Foundation//DTD Struts > Configuration 1.1//EN" > > "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <action-mappings> <action path="/planning" type="smartt.planning.benefit.action.ViewBenefit" scope="request" ></action> </action-mappings> </struts-config> Again, I have not declared any ActionForm's, since this particular request is pulling data out of the database, and there are no form elements being sent over. My web.xml has the standard mappings for ActionServlet, and any URI with /*.do map to it. What does happen is the browser returns with a blank page. I did read up on possible causes (misspellings, missing declarations and/or attributes and that sort, but didn't find any related solution in the forums or via searches in Google. I appreciate it. -Andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]