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 SK

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 : > 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 cannot be found, move them to

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 wrote: > 2010/4/2 sandeep kotha : > > 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/strut

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

2010-04-03 Thread john lee
  ***        try       /success.jsp     try 2   the above code triggers interceptor before class try's execute(), and the purpose of intercep

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 = (MyAction)invoc

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 @Webser

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 rese

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 fac

Re: transforming Struts apps to services

2010-04-03 Thread Frans Thamura
On Sun, Apr 4, 2010 at 7:40 AM, Dave Newton 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 standard yo

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 wrote: > On Sun, Apr 4, 2010 at 7:40 AM, Dave Newton wrote: > > > Frans Thamura wrote: > > > >> any idea to make a struts2 application using @Webservices or any, to > make > >>

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 wrote: > Frans, > >You can consider using AXIS with struts for Webservices

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 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 result model for

Re: transforming Struts apps to services

2010-04-03 Thread Frans Thamura
hi chris is it on SpringMVC or on Struts2, can share more detail F On Sun, Apr 4, 2010 at 12:30 PM, Chris Pratt wrote: > 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 wrote: > > > hi > > > > > > mus