Re: JAX-RS or REST plugin

2010-09-28 Thread Frans Thamura
Fixed after restart the svn /m/ -Original Message- From: Amol Ghotankar Date: Wed, 29 Sep 2010 10:52:26 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: JAX-RS or REST plugin Not able to work with the link. Any problems with server or link???

Re: JAX-RS or REST plugin

2010-09-28 Thread Amol Ghotankar
Not able to work with the link. Any problems with server or link??? On Wed, Sep 29, 2010 at 1:38 AM, Frans Thamura wrote: > hi all > > anyone work with REST, we now work hard to migrate all our projects to > REST plugins, and we successfully make all the old execute() style > become RES

Re: Accessing User input in execute ( ) method

2010-09-28 Thread serge nana
Hareendra, You don't need to have an ActionForm in order to invoke an Action class. An ActionForm is a data transfer object (DTO) that allows you to transfer data from the view to the controller( in this case your action). So, if you want to use struts and you have a form to send to the server, i

JAX-RS or REST plugin

2010-09-28 Thread Frans Thamura
hi all anyone work with REST, we now work hard to migrate all our projects to REST plugins, and we successfully make all the old execute() style become REST, u can get the code in our trunk at www.ugforge.net/gf/projects/cimande this is the SVN http://ugforge.net/gf/project/cimande/scmsvn/?acti

Re: Problem with S2 form parameters encode

2010-09-28 Thread Josep GarcĂ­a
I suggest you fix the Java encoding, -encoding, with JAVA_OPTS Josep 2010/9/27 Oscar > I gonna try that. Also, right now i tried using a different charset: > > <%@ page contentType="text/html; charset=ISO-8859-1" %> > > and it works! > > 2010/9/27 Maurizio Cucchiara > > > You can also try to ad

RE: Accessing User input in execute ( ) method

2010-09-28 Thread adam pinder
if you're new to struts why don't you use struts2 its far better and less intrusive code wise. > Date: Tue, 28 Sep 2010 09:03:51 +0530 > Subject: Re: Accessing User input in execute ( ) method > From: hareend...@gmail.com > To: user@struts.apache.org > > Guys, > > Thnks for all replie

Re: How to structure a struts2 application

2010-09-28 Thread Darren Karstens
Thanks for the responses. The validation interceptor seems to be exactly what I was looking for. Regards Darren > You don't need multiple classes. The validate interceptor, as the prepare > one, is very flexible in this sense. You can define multiple validate > methods inside a single action class