struts2.5 - Action class is not called

2015-11-16 Thread Emi
Hello, For struts2.5 beta version, can someone help what may cause action class is not called please? (1) web.xml struts2 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter actionPackages project.action

Re: struts2.5 - Action class is not called

2015-11-16 Thread Emi
struts2.5: (2) index.jsp <% String context_path = request.getContextPath(); response.sendRedirect(context_path + "/Login/ProcessLoginAction.action"); %> (3) struts.xml class="project.action.ProcessLoginAction"> login_main_page If written

Re: struts2.5 - Action class is not called

2015-11-16 Thread Ken McWilliams
I think you should be able to add a more precise definition ahead of the wild card definition (one without a wildcard) and get the behaviour expected. On Mon, Nov 16, 2015 at 1:07 PM, Emi wrote: > > using wild cards in action. If you don't want to switch between methods

Re: struts2.5 - Action class is not called

2015-11-16 Thread Ken McWilliams
Well you are using wild cards in the action name. If you don't want to switch between methods dynamically, that is you _always_ want to call execute then you should remove the "*" from the name, remove the method parameter, and then struts2 will assume execute should be called by default. On Mon,

Re: struts2.5 - Action class is not called

2015-11-16 Thread Emi
using wild cards in action. If you don't want to switch between methods dynamically, Use switch methods dynamically. In action class: execute() as default method_name2() method_name3().. that is to call execute then you should remove the "*" from the name, remove method parameter,

Re: struts2.5 - Action class is not called

2015-11-16 Thread Lukasz Lenart
2015-11-16 19:37 GMT+01:00 Emi : >class="project.action.ProcessLoginAction"> > login_main_page > > > > > > > ProcessLoginAction is not called. Which setups are missing/wrong that may > cause the failure please? I think it's already fixed but

Re: FreeMarker and SOAP

2015-11-16 Thread Christoph Nenning
> My Strusts2 (2.3) app needs to call a few different SOAP services and I'm > thinking to use FreeMarker to generate the body of the request. I'd be > interested in any opinions as to if this is considered the right approach in > Struts and what is the best way to use FreeMarker to generate the

FreeMarker and SOAP

2015-11-16 Thread C N Davies
My Struts, My Strusts2 (2.3) app needs to call a few different SOAP services and I'm thinking to use FreeMarker to generate the body of the request. I'd be interested in any opinions as to if this is considered the right approach in Struts and what is the best way to use FreeMarker to generate