I struggled with this issue for a long period, at the end I reached a
good point: I started using database connection pools [1].
Actually you should wait until the mysql connection dies (it should be
after 8 hours of db inactivity ), but you could change the
connect-timeout=seconds [2] in order to
I configured struts to handle url mapping with no extensions this way
constant name=struts.action.extension value=,, /
With this action mapping
action name=* class=myAction method=myMethod
param name=myId{1}/param
result type=tilesmyTile/result
/action
I haven't looked at this for some time, but open up DefaultActionMapper and
have a look. You can always substitute your own implementation if the
outta-the-box is not what you are looking for.
Peace,
Scott
On Tue, Mar 1, 2011 at 7:59 AM, GF gan...@gmail.com wrote:
I configured struts to
It's possible you might have to play with your filter entries in web.xml
also. The container also maps by extension.
(*Chris*)
On Tue, Mar 1, 2011 at 5:59 AM, GF gan...@gmail.com wrote:
I configured struts to handle url mapping with no extensions this way
constant
I'm afraid that you should consider to use apache mod_rewrite or
something like an url rewrite filter [1]?
[1] http://www.tuckey.org/urlrewrite/
On 1 March 2011 18:24, Chris Pratt thechrispr...@gmail.com wrote:
It's possible you might have to play with your filter entries in web.xml
also. The
Coincidentally, I've been working on this same issue. I needed struts
actions to handle PDFs.
My solution was to add pdf to the action extensions, as in:
constant name=struts.action.extension value=pdf, /
Note the critical trailing comma which allows for blank extensions in
addition to pdf.
6 matches
Mail list logo