transforming Struts apps to services

2010-04-03 Thread Frans Thamura
hi all any idea to make a struts2 application using @Webservices or any, to make the result is SOA compliance? -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian jTechnopreneur Program (S1) telah hadir, Dapatkan benefit bagi SMK yang melakukan mapping

Re: Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

2010-04-03 Thread Lukasz Lenart
2010/4/2 sandeep kotha sandeep4u.ko...@gmail.com: In-spite of having *struts2-core-2.1.8.1.jar *under /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error . Is that /WEB-INF/lib/struts-2.1.8.1/ a directory ??? ^ If so, your jars

Re: Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

2010-04-03 Thread sandeep kotha
Thank you Lenart, Its working after making the change you said. On 3 April 2010 14:05, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2010/4/2 sandeep kotha sandeep4u.ko...@gmail.com: In-spite of having *struts2-core-2.1.8.1.jar *under /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting

struts 2, how to trigger interceptor after action's execute() ?

2010-04-03 Thread john lee
  *** package name=me extends=struts-default   interceptors    interceptor name=mysimple class=mysimple   param name=name try /param /interceptor  /interceptors    action name=try class=try result

Re: struts 2, how to trigger interceptor after action's execute() ?

2010-04-03 Thread Robert Taylor
To trigger code before an Action is executed place it before the invocation.invoke(). To trigger code after an Action is executed place it after the invocation.invoke(); For example: public String intercept(ActionInvocation invocation) throws Exception { MyAction action =

Re: transforming Struts apps to services

2010-04-03 Thread Dave Newton
Frans Thamura wrote: any idea to make a struts2 application using @Webservices or any, to make the result is SOA compliance? SOA compliance meaning what? The rendered result can be in any format and conform to any standard you wish. Is your question regarding using the actual JAX-RS

Re: Resetting session scope form bean values

2010-04-03 Thread Dave Newton
pundarik rajkhowa wrote: After I submit the form and open it again for new data entry, the form retains its old values. If I call form.reset(), it fails to clear the bean. Do I need to override the reset method and manually clear values of all bean elements? Yes--that is the purpose of the

Re: Struts2 validation problem

2010-04-03 Thread Dave Newton
zud wrote: 1) Is old errors is not getting cleared that means when the filed value is empty when i submit the form it shows required that is ok and agian when i submit with empty values again now it shows messages like filed is required filed is required Are you using Spring as your object

Re: transforming Struts apps to services

2010-04-03 Thread Frans Thamura
On Sun, Apr 4, 2010 at 7:40 AM, Dave Newton newton.d...@yahoo.com wrote: Frans Thamura wrote: any idea to make a struts2 application using @Webservices or any, to make the result is SOA compliance? SOA compliance meaning what? The rendered result can be in any format and conform to any

Re: transforming Struts apps to services

2010-04-03 Thread Nitesh Jain
Frans, You can consider using AXIS with struts for Webservices. Nitesh On 4 April 2010 06:50, Frans Thamura fr...@meruvian.org wrote: On Sun, Apr 4, 2010 at 7:40 AM, Dave Newton newton.d...@yahoo.com wrote: Frans Thamura wrote: any idea to make a struts2 application using

Re: transforming Struts apps to services

2010-04-03 Thread Frans Thamura
hi must we create an axis-plugins for struts2 first, or u can give me an opinion because my head said we must go to plugins result model for any output of Struts2 F On Sun, Apr 4, 2010 at 11:24 AM, Nitesh Jain er.niteshj...@gmail.comwrote: Frans, You can consider using AXIS with

Re: transforming Struts apps to services

2010-04-03 Thread Chris Pratt
I've used Spring-Web Services along side a Struts 2 app and it worked fine. (*Chris*) On Sat, Apr 3, 2010 at 9:33 PM, Frans Thamura fr...@meruvian.org wrote: hi must we create an axis-plugins for struts2 first, or u can give me an opinion because my head said we must go to plugins