Re: REST in Struts 2 Web Applications

2012-02-20 Thread Łukasz Lenart
It should be like this: Regards -- Łukasz Mobile +48 606 323 122 Office +27 11 0838747 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-unsubscr..

Re: REST in Struts 2 Web Applications

2012-02-16 Thread developer researcher
Hello, Seems that there is not much documentation, examples or tutorials on this topic. The only resource I have found on a similar case is in the following forum: http://forum.springsource.org/showthread.php?83417-How-to-use-struts2-rest-style-and-default-style-at-same-time This s

Re: REST in Struts 2 Web Applications

2012-02-10 Thread developer researcher
Hello Lukasz, thank you for your answer, *1.* I have severals problems when include the configuration for the rest-plugin in struts.xml (attachment the file): - Get HTTP for http://ipserver:port/weapp/index.action (for example) return HTTP 404 code error. Before include the rest plugin confi

Re: REST in Struts 2 Web Applications

2012-02-09 Thread Łukasz Lenart
2012/2/9 developer researcher : > 1. both normal action and restful action in the same web application. Define struts.rest.namespace as mentioned in the docs > 2. The URL structure for resources must be: > - /list/ ==> show a list of resoruces in json format > - /list/{id} ==> show the resource i

REST in Struts 2 Web Applications

2012-02-09 Thread developer researcher
Hello, I am using Struts2 2.3.1. I am evaluating the rest plugin and I have the next requirements: 1. both normal action and restful action in the same web application. 2. The URL structure for resources must be: - /list/ ==> show a list of resoruces in json format - /list/{id} ==> show