I've just noticed, that rest plugin change the way how i can access to a specific action.
When i use http://localhost:8080/myApp/runLogin.action, action mapping is failing. It thinks it is a restful method. and I can access the action putting http://localhost:8080/myApp/runLogin!execute Is there a chance to my traditional actions can co-exist with restful controllers?... I mean, http://localhost:8080/myApp/runLogin.action goes to my login page... http://localhost:8080/myApp/service/folder/145 goes to my restful controller folderController calling the 'show' method. Thanks in advance On Tue, Aug 31, 2010 at 12:04 PM, Rafael Taboada <kaliman.fore...@gmail.com>wrote: > Hi folks, > > I have an struts2.0.14 app working well and I decided to migrate to > struts2.1.8. Migration worked well. > > But when I tried to include rest plugin, my current urls to process some > actions don't work. I have a http 404 error as a result. My goal is using > restful to publish some methods located in my service package, offcourse > creating a controller first. > > Do you know why my app doesn't work when I include restful plugin jar?. I > suppose it can't process current urls like > http://localhost:8080/myApp/runLogin.action > > I have noticed that struts2 blank app works well and struts2 rest showcase > too... But when I'm trying to include restful plugin in struts2 blank app, > it doesn't work. When I'm trying to access to > http://localhost:8080/strutsapp/index.action, a http 404 error happens. > > How can i solve this issue? My goal is to use restful in my actual struts > app. I googled and some opinions is that restful plugin is incompatible with > some traditional struts2 apps, is that true? > > Thanks in advance > > Bye > > -- > Rafael Taboada > Software Engineer > > Cell : +511-992741026 > > "No creo en el destino pues no me gusta tener la idea de controlar mi vida" > -- Rafael Taboada Software Engineer Cell : +511-992741026 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"