Yeah, you could map each in web.xml. A better solution might be to
use prefix-mapping in web.xml, so that all app/ request go to your
Struts 2 app.
Don
On 7/11/07, Perssy Llamosas <[EMAIL PROTECTED]> wrote:
This article answers my question:
http://www.lunatech-research.com/archives/2005/07/29
but it's struts1.X not struts2.x
2007/7/11, Perssy Llamosas <[EMAIL PROTECTED]>:
This article answers my question:
http://www.lunatech-research.com/archives/2005/07/29/struts-urls
There is a big but, mapping each extension in the web.xml to the default
servlet works but it's not the ideal sol
This article answers my question:
http://www.lunatech-research.com/archives/2005/07/29/struts-urls
There is a big but, mapping each extension in the web.xml to the default
servlet works but it's not the ideal solution since it would require
that every extension in my application to be mapped,
Yes, I tried setting that constant but that makes every static file not
to be served by tomcat.
with:
'struts.action.extension='
there won't be .css .html .js
There must be another way. I have seen examples of custom mappers
without .action but I don't seem to be able to make them work in strut
You'll need to tell Struts to not use an action extension. I believe
the setting is 'struts.action.extension=', so by setting it to
nothing, it now won't require the '.action' extension. You shouldn't
need to use the restful2 action mapper for this to work. Be warned,
it may not be fully compat
I found this via Google
http://struts.apache.org/2.0.8/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/DefaultActionMapper.html
Default action mapper implementation, using the standard *.[ext] (where ext usually
"action")
pattern. The extension is looked up from the Struts configurati
Hello,
I am trying to configure my struts application to listen to request
without .action or .do
I think it has to do something with the struts.mapper.class but I cannot
seem to make it work, I have tried several approaches but I cannot get
rid of the .action or .do without mapping everything
7 matches
Mail list logo