Re: EL not working in tomcat 5.5.28 works in myeclipse

2010-08-31 Thread abhishek jain
On Tue, Aug 31, 2010 at 9:01 PM, abhishek jain wrote: > Hey , > I just realized i acidently placed el-api.jar in WEB-INF/lib folder. > If i dont than i get the following exception: > > > Aug 31, 2010 4:28:44 PM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Error configuring ap

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 5:17 PM, Rafael Taboada wrote: But I'm having the same problem "HTTP status 404" So it is failing to find any valid action mapping? What do your logs show? This might help you figure out what's going on: http://struts.apache.org/2.x/docs/config-browser-plugin.html My struts.xml lo

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Hi, I was debugging PrefixBasedActionMapper and a I noticed that: - It gets the right actionmappers "/service" -> org.apache.struts2.dispatcher.mapper.restful2actionmap...@34e6529c "" -> org.apache.struts2.dispatcher.mapper.defaultactionmap...@50e8709d - When I can access the uri /example/HelloW

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Great, But I'm having the same problem "HTTP status 404" I've downloaded struts-blank2.2.1 and added jars about restful plugin (struts2-rest-showcase-2.2.1) My struts.xml looks like : HelloWorld

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 4:40 PM, Rafael Taboada wrote: I have in my struts.xml It means, every url that contains 'service' must be mapped with Restful2ActionMapper, everything else use default mapping. Is that correct? What am i missing or doing wrong? Almost. It means that every request that starts w

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Hi, I've been looking at PrefixBasedActionMapper. What is the way to configure it? I have in my struts.xml It means, every url that contains 'service' must be mapped with Restful2ActionMapper, everything else use default mapping. Is that correct? What am i missing or doing wrong? On Tue, Au

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 3:15 PM, Rafael Taboada wrote: I migrated my app to 2.1 because I need to use restful plugin, didn't think in 2.2 because it was released just a month ago (i think) and i don't know if it is a good option in production environment. Theoretically any GA (General Availability) release

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
Thanks so much for your answer. I migrated my app to 2.1 because I need to use restful plugin, didn't think in 2.2 because it was released just a month ago (i think) and i don't know if it is a good option in production environment. I'll consider your advice. Thanks On Tue, Aug 31, 2010 at 1:21

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 2:05 PM, Rafael Taboada wrote: Is there a chance to my traditional actions can co-exist with restful controllers?... If you're looking to have different parts of your url space get processed by different action mappers, the PrefixBasedActionMapper included in 2.2 might be what you'

Re: Struts2 REST plugin problems

2010-08-31 Thread Dale Newfield
On 8/31/10 1:04 PM, Rafael Taboada wrote: 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 res

Re: Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
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

Struts2 REST plugin problems

2010-08-31 Thread Rafael Taboada
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 loca

Re: EL not working in tomcat 5.5.28 works in myeclipse

2010-08-31 Thread abhishek jain
Hey , I just realized i acidently placed el-api.jar in WEB-INF/lib folder. If i dont than i get the following exception: Aug 31, 2010 4:28:44 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener ja

EL not working in tomcat 5.5.28 works in myeclipse

2010-08-31 Thread abhishek jain
Hi friends, I have a website in struts 1.2 hosted on tomcat 5.5.x and it uses EL. It is not being evaluated, any suggestions on the reasons why? I used struts 1.2 , myeclipse, tomcat 5.5.28 . EL is not working on live but works on development environment on myeclipse. I have tried changing the we

Re: Running Struts1 and Struts2 together?

2010-08-31 Thread Dave Newton
How is gluing messages together ugly? Wouldn't it be a matter of an interceptor snarfing session/request data from S1 and massaging it into S2? What were the sticking points? Dave On Tue, Aug 31, 2010 at 8:09 AM, J_e_f_f wrote: > > > > Stephen Turner wrote: > > > > but I've no idea how big a jo

Re: Running Struts1 and Struts2 together?

2010-08-31 Thread J_e_f_f
Stephen Turner wrote: > > but I've no idea how big a job it is, what the pitfalls > are etc. > > It's not difficult to add struts 2 to an existing struts 1 app. We have two apps that have both struts1 and struts 2 actions. You just define your struts 2 filter in your application's web.xml l