Re: problem in validation with struts 2.3.1

2013-03-18 Thread Dave Newton
And verify your theme. Dave On Mar 18, 2013 5:51 PM, "Chris Pratt" wrote: > You probably need to specify the <%@ taglib prefix="s" uri="/struts-tags"%> > at the top of the .jsp file. > (*Chris*) > > > On Mon, Mar 18, 2013 at 1:06 PM, Muralidhar Yaragalla < > java.yaraga...@gmail.com> wrote: >

Re: problem in validation with struts 2.3.1

2013-03-18 Thread Chris Pratt
You probably need to specify the <%@ taglib prefix="s" uri="/struts-tags"%> at the top of the .jsp file. (*Chris*) On Mon, Mar 18, 2013 at 1:06 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > I think the problem is i am not using any struts tags in my jsp. when i use > " > > " th

Re: does struts 2.3 support mask validator?

2013-03-18 Thread Dave Newton
http://struts.apache.org/development/2.x/docs/validation.html#Validation-BundledValidators On Mon, Mar 18, 2013 at 4:57 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > I don't see regex validator in validators.xml so do we have to get it from > somewhere? > > > On Tue, Mar 19, 2013

Re: does struts 2.3 support mask validator?

2013-03-18 Thread Muralidhar Yaragalla
I don't see regex validator in validators.xml so do we have to get it from somewhere? On Tue, Mar 19, 2013 at 2:17 AM, Dave Newton wrote: > The regex validator? > > > On Mon, Mar 18, 2013 at 4:44 PM, Muralidhar Yaragalla < > java.yaraga...@gmail.com> wrote: > > > The following is the example fo

Re: does struts 2.3 support mask validator?

2013-03-18 Thread Dave Newton
The regex validator? On Mon, Mar 18, 2013 at 4:44 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > The following is the example for mask validator in struts 1 > > > > > > mask > ^[0-9]*$ > > > > Is there any equivalent validator in struts 2.3 where i can use regular > expressi

Re: does struts 2.3 support mask validator?

2013-03-18 Thread Muralidhar Yaragalla
The following is the example for mask validator in struts 1 mask ^[0-9]*$ Is there any equivalent validator in struts 2.3 where i can use regular expressions? On Tue, Mar 19, 2013 at 2:07 AM, Lukasz Lenart wrote: > 2013/3/18 Muralidhar Yaragalla : > > hi I have been searching on net for

Re: S2 annotations to limit HTTP methods?

2013-03-18 Thread Lukasz Lenart
2013/3/18 Paul Benedict : > I see that javax.ws.rs has @GET, @POST, etc. annotations that can @Target a > method. Those seem like a good choice, but they are unfortunately part of > the web services package. Too bad they weren't part of the common Servlet > support! However, javax.servlet.annotatio

Re: does struts 2.3 support mask validator?

2013-03-18 Thread Lukasz Lenart
2013/3/18 Muralidhar Yaragalla : > hi I have been searching on net for mask validator examples but could not > found any for 2.3. Mask validator? What you mean by that? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

does struts 2.3 support mask validator?

2013-03-18 Thread Muralidhar Yaragalla
hi I have been searching on net for mask validator examples but could not found any for 2.3. -- Thanks And Regards, *Muralidhar Yaragalla. *

Re: problem in validation with struts 2.3.1

2013-03-18 Thread Muralidhar Yaragalla
I think the problem is i am not using any struts tags in my jsp. when i use " " this tag the messages are showing up. I thought struts automatically displays error messages next to the field. On Tue, Mar 19, 2013 at 1:18 AM, Lukasz Lenart wrote: > 2013/3/18 Muralidhar Yaragalla : > > //The fo

Re: problem in validation with struts 2.3.1

2013-03-18 Thread Muralidhar Yaragalla
Yes. I am not sure whether server side validations are happening or not. I feel they are not happening because i dont see error messages in the front end(in the browser). On Tue, Mar 19, 2013 at 1:18 AM, Lukasz Lenart wrote: > 2013/3/18 Muralidhar Yaragalla : > > //The following is my VotingTopi

Re: problem in validation with struts 2.3.1

2013-03-18 Thread Lukasz Lenart
2013/3/18 Muralidhar Yaragalla : > //The following is my VotingTopicAction-validation.xml Is this file in com/ymd/ums/lv/action folder? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: use

Re: S2 annotations to limit HTTP methods?

2013-03-18 Thread Paul Benedict
I see that javax.ws.rs has @GET, @POST, etc. annotations that can @Target a method. Those seem like a good choice, but they are unfortunately part of the web services package. Too bad they weren't part of the common Servlet support! However, javax.servlet.annotation has @ServletSecurity that allows

Re: S2 annotations to limit HTTP methods?

2013-03-18 Thread Lukasz Lenart
2013/3/18 Paul Benedict : > Does S2 have annotations, which can be applied to an action method, to > explicitly specify which HTTP methods are allowed? Thus returning a 405 > otherwise? As I can recall, no - but if could describe a more specific case we can add them. It isn't the first time that s

Re: S2 annotations to limit HTTP methods?

2013-03-18 Thread Maurizio Cucchiara
As far as I can remember there is something in the rest plugin, but it would not be difficult to write an interceptor (maybe using rest plugin code as hint). Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin

S2 annotations to limit HTTP methods?

2013-03-18 Thread Paul Benedict
Does S2 have annotations, which can be applied to an action method, to explicitly specify which HTTP methods are allowed? Thus returning a 405 otherwise? Paul

Re: Default action behaviour with convention plugin change in 2.3.12

2013-03-18 Thread Lukasz Lenart
2013/3/18 Eric Chatellier : > I'm trying to update an application using struts with convention > plugin from 2.3.8 to 2.3.12. > > I'm experiencing a change with default action "/" that > was calling "IndexAction#execute()" method in version 2.3.8. > Now, in version 2.3.12, this is resulting in 404

Default action behaviour with convention plugin change in 2.3.12

2013-03-18 Thread Eric Chatellier
Hi, I'm trying to update an application using struts with convention plugin from 2.3.8 to 2.3.12. I'm experiencing a change with default action "/" that was calling "IndexAction#execute()" method in version 2.3.8. Now, in version 2.3.12, this is resulting in 404 http error. The only ticket relat