Struts2 empty action extension help request

2010-05-31 Thread Phil Davis
Hi, I am new to Struts2. It seems to provide some of the functionality that I want in MVC architecture. But I am having difficulties configuring it to work the way I want. I sure would appreciate some assistance. OK, lets start at the top. I want a single action class for all URLs because the

Re: Struts2 empty action extension help request

2010-05-31 Thread Phil Davis
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

Re: Struts2 empty action extension help request

2010-06-02 Thread Phil Davis
cture.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. >

Re: Re: Struts2 empty action extension help request

2010-06-02 Thread Phil Davis
Thanks for your response Pawel, I am still having problems, so I have included a sample setup. I am using Eclipse and GlassFish v3. The files in my WAR are: /images/logo.gif /META-INF/MANIFEST.MF /WEB-INF/classes/com/example/ actions/MainSite.class /WEB-INF/classes/struts.xml /WEB-INF

Re: Struts2 empty action extension help request

2010-06-02 Thread Phil Davis
Thanks for your response Pawel, I am still having problems, so I have included a sample setup. I am using Eclipse and GlassFish v3. The files in my WAR are: /images/logo.gif /META-INF/MANIFEST.MF /WEB-INF/classes/com/example/ actions/MainSite.class /WEB-INF/classes/struts.xml /WEB-INF

Re: Struts2 empty action extension help request

2010-06-03 Thread Phil Davis
7;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

Re: Struts2 empty action extension help request

2010-06-03 Thread Phil Davis
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 gree

Re: Struts2 empty action extension help request

2010-06-03 Thread Phil Davis
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... o

Blank Extension Bug Report

2010-06-05 Thread Phil Davis
Not sure where to submit an bug report, since the JIRA link seems to be broken... So, I am posting it here. Blank Extensions break the normal processing of non-action files. web.xml: -- http://www.w3.org/2001/XMLSchema-insta