struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Davis <texasp...@gmail.com>
Subject Re: Struts2 empty action extension help request
Date Thu, 03 Jun 2010 18:03:06 GMT
As far as using one action.... why would I want 30 actions that are
identical?   Since the page is populated by the database?

I agree that it does not utilize one of the best features of struts to its
full extent... but it does use it, and many other features.

On Jun 3, 2010 4:34 AM, "Paweł Wielgus" <poulwiel@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 <texasphil@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...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message