> You can define an "unknown" action that responds to requests that no
> other actions are mapped to.  See section 4.7:
> http://jakarta.apache.org/struts/userGuide/building_controller.html

This approach looks promising. However I'm not sure how to best
implement such an Action. A primitive solution would be to just look at
the request and read the resource from the file system. But I'd rather
use the same mechanism as is used by Struts for including e.g. JSP
pages.

  public ActionForward execute(...)
    throws Exception
  {
    // No good, recursive behavior...
    request.getRequestDispatcher(
        request.getRequestURI()).include(request, response);
    return null;
  }


--
Eric Jain


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to