Thanks for the rezsponse.  And I am sorry for the multiple posts of the last
message.

Unfortunately, when I create a newnamespace, I still have the same problem.
I think the reason is it is looking for an action named "logo.for" in the
namespace "images", and since the only action is "fred" it doesn't find
one.  So, according to the documentation, it goes to the default namespace.
So, what I got was the main action without a logo.

It just occurred to me... maybe I need a different namespace for "/", the
main action will be caught.  Then, I also need a namespace for "/images".
Since the /images/logo.for won't map to an action in neither the "/images"
namespace nor the default namespace, it will just be a regular file....
i'll try this tonight.

On Jun 3, 2010 4:34 AM, "Paweł Wielgus" <poulw...@gmail.com> wrote:

Hi Phil,
i see your point,
when action is configured to catch all requests like that it will
catch all *.gif requests,
maybe add namespace to your action and that will solve your problem,
then You will call any action but in /Example/mynamespace/* and You
will store your images in /images directory,
don't forget to not to use realative address for your image file - do
it like this < img src="/images/logo.gif" />
Still, if You want to use one action in struts,
it's pointles to use struts - but that's just my point of view.

Best greetings,
Paweł Wielgus

2010/6/3 Phil Davis <texasp...@gmail.com>:

> Thanks for your response Pawel,
>
> I am still having problems, so I have included a sample setup....

---------------------------------------------------------------------
To unsubscribe, e-mail: user-u...

Reply via email to