Re: restful actions

2007-03-05 Thread Philip Lorenz
> Thanks for response, > > I have already tried empty extension. That works. > > But actually, the real problem was not there. > There is a problem with Restful*ActionMappers, they don't work properly. > > Thank you in advance, > Aram I am currently running a slightly hacked version of the Rest

Re: restful actions

2007-03-05 Thread Philip Lorenz
> If you do not want to add the .example extension to your URLs you will have to set this to an empty string. > According to docs following path "http://contextroot/do/this is an > example" > should invoke view method, but i get 404 code. > Even struts filter does not handle this request. >

Re: struts.xml problem

2007-02-26 Thread Philip Lorenz
> for sure, i already put struts2-core-2.0.6.jar in my lib folder > and inside that, there is struts-default.xml in the root folder > if i remove my struts-pensiun.xml and put into just struts.xml > everything work fine. > is there any bug in this release. > thx > This seems to be a problem in

Re: Using the Restful2ActionMapper

2007-02-05 Thread Philip Lorenz
> This is most likely a bug, can you create a JIRA ticked? > > /Ian > The bug is now located here: https://issues.apache.org/struts/browse/WW-1706 Philip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Using the Restful2ActionMapper

2007-02-05 Thread Philip Lorenz
or. Disabling it only leads to to an > error message that the action 5 could not be found. > > After having a glimpse at the source code it the class does not seem to > set the action name correctly (it receives the correct URL however). Is this > a known problem or did I misconfigure my ap

Re: Using the Restful2ActionMapper

2007-02-05 Thread Philip Lorenz
> > Tomorrow's task for me is trying RESTful, so hopefully > you'll figure this out ;) > > Do you need the ".action" in the URL?! > > d. You can remove the action postfix by setting struts.action.extension to an empty string. I just left it enabled to have a clean default config with only th

Using the Restful2ActionMapper

2007-02-05 Thread Philip Lorenz
limpse at the source code it the class does not seem to set the action name correctly (it receives the correct URL however). Is this a known problem or did I misconfigure my application? Any hints would be appreciated. Philip Lorenz