Since the methods do not return a String containing the result to match, I'm not sure how to direct Struts to display a page.
All such methods should return a String, just like the canonical execute method. In other words, execute is the default Action method (or "alias"). Other methods can be specified, but they are no different in composition than the default execute method. If execute or any other Action method fails to return a String, yes, you will get a blank page. I believe if devMode is enabled, there will also be errors logged. HTH, Ted <http://www.husted.com/ted/blog/> On 4/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I have an Action with several methods in it. I have no problem invoking the correct method using course!whatever, but I can't seem to figure out how to get the correct web page to appear following the method call. Since the methods do not return a String containing the result to match, I'm not sure how to direct Struts to display a page. I have tried the redirect result without specifying a name, but it does not seem to be called. I end up viewing a white page! Any clues? I'm trying to create a single CRUD page with a single Action. <action name="course!*" method="{1}" class="course"> <result name="input">/pages/course.jsp</result> <result type="redirect-action">course!list</result> </action> -- Scott [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]