Re: Handling wildcard action names with dot.

2011-03-01 Thread Fred Toth
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: Note the critical trailing comma which allows for blank extensions in addition to pdf. I'm not sure exactly how struts, by default, knows

Re: Handling wildcard action names with dot.

2011-03-01 Thread Maurizio Cucchiara
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 wrote: > It's possible you might have to play with your filter entries in web.xml > also.  The container also maps b

Re: Handling wildcard action names with dot.

2011-03-01 Thread Chris Pratt
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 wrote: > I configured struts to handle url mapping with no extensions this way > > > > With this action mapping > >

Re: Handling wildcard action names with dot.

2011-03-01 Thread stanlick
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 wrote: > I configured struts to handle url mapping wi

Handling wildcard action names with dot.

2011-03-01 Thread GF
I configured struts to handle url mapping with no extensions this way With this action mapping {1} myTile I can handle urls like: /aaa/bbb/ccc /aaa/bbb/ddd /aaa/bbb/eee But i wish to handle this kind of urls too: /aaa/bbb/fff.xyz /aaa/bbb/fff.jkw

Re: Exception in hibernate3

2011-03-01 Thread Maurizio Cucchiara
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