Hi All,

I was trying to get more deep in struts2 rest plugin.

To better understand things I have created a struts2-rest-sample on github
https://github.com/amolghotankar/struts2-rest-sample

Issues I see here are

1. If we add a customer interceptor then index action is not getting called.

2. We cannot update to struts2.3.20 - I guess this is known issue :(

3. How do we call http://localhost:8080/employee/111/projects.json
something like cascading actions here?

4. How can we return customer json response as for eg
http://localhost:8080/employee.json should return employeeId but
http://localhost:8080/employee/111.json should not return employeeId

There are more to come and I hope this github repo will help many other
like me.

Specially when these days we have angularjs being used heavily, people like
me would love to see struts2 more of a restful mvc which will sit only on
server side, but doing a little more for detached clients.


-- 

*With Best Regards,*

Amol Ghotankar
Technical Lead
M: +91 9960 980 419 <http://www.cursivetech.com>

Reply via email to