Hi Phil,
why You want to use struts2 if You are dropping one of the main parts
of it - actions?
It looks like You are trying to write one servlet (action) and catch
all that is coming in. If this is correct i strongly suggest to
rethink struts2 as a framework.
As to the problem of blank action extension, it just works, no need to
add anything. But when You call for the gif file You are probably
requesting for http://myapp.com/action/picture.gif which has an
extension and it should be accessible without an action and the file
picture.gif should placed action catalog in your app folder to work.
If You want to have access to action name in action which is kind of
pointless normally because You are in this action, then add
RequestAware or get ActionInvocation object where this info is
accessible.

Best greetings,
Paweł Wielgus.

2010/5/31 Phil Davis <texasp...@gmail.com>:
> Correction, when the extension is blank, it does not find the image.  It
> seems that I was getting a cached version.
>
> So, it seems that blank extensions do NOT completely work... That is, they
> don't work with other resource types (images, css, etc)
>
> I still would appreciate your response, and still looking for answer to the
> first question.... how to determine the URL.
>
> Thanks again!
>
> Phil
>

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

Reply via email to