I don't think so. Urls should only be mapped to Struts if you want Struts to process them. If not, just request info.png without the Struts mapping in the url.

David



From: "Eric Jain" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "struts-user" <[EMAIL PROTECTED]>
Subject: DynamicForwardAction
Date: Wed, 5 Mar 2003 17:58:34 +0100

Is there an Action class that can be used in the following way:

  <action
   unknown="true"
   path="/not-ever-used"
   type="org.apache.struts.actions.DynamicForwardAction?"
   parameter="/whatever-the-real-request-was"
  />

Background: The Struts servlet is mapped to '/action/*'. If
'/action/search' is requested, and and action 'search' exists, it should
be executed. If '/action/info.png' is requested, and no corresponding
action exists, the web server should be put back in charge of returning
the file to the client.


-- Eric Jain


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


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



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



Reply via email to