struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: DynamicForwardAction
Date Wed, 05 Mar 2003 17:06:43 GMT
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" <Eric.Jain@isb-sib.ch>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "struts-user" <struts-user@jakarta.apache.org>
>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: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org


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


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message