Bummer,

Even with two namespaces, "/" and "/images" it still wants to run the image
file, "/images/logo.gif", as an action under the "/images" namespace, it
complains that there is no action mapped....

I also tried a single namespace for "/" and got the same error.

So, I think this is a bug... one that probably will not occur very often,
because I am not using struts in a "normal" way, but it does not provide the
functionality that I need.  There should be a way to specify URLs and files
that are NOT actions, at least when using a blank extension.

I absolutely need blank extension... I hate extensions!  and no one will
know what extension to goto to start the page.... the default page should be
www.example.com, which is usually a static page, but I don't want a static
page... I want to use some type of action.  Sure I could do a redirect....
yuck!

One more thing to try.... separate projects....

OK, when I create a separate project "/images" and change the URL in the JSP
file to the absolute path "/images/logo.gif" ... it works!  This is a
separate project, not a namespace or anything within the defined project!!!!

This is a HACK, but I can live with it for now!

I still think it is a bug that empty extensions cause regular files to cease
to work.

Phil

Reply via email to