Validation performance

View: New views
4 Messages — Rating Filter:   Alert me  

Validation performance

by Mitch Claborn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there any performance difference between defining validations in an
xml file (ActionName-validation.xml) or as annotations within the
Action?  Is one method preferred over the other?


Mitch


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Stripping Out Characters

by Ratner Glenn A :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm new to struts and work on an application with existing struts code.

I have a text field in a .jsp and when doing the post struts seems to be
automatically removing certain special characters from the string in the
text field.

In particular, it's removing these non-alpha characters: "(" and ")"

Is there some configuration at the struts level to declare which
characters to allow or not allow?  I searched but could not find any
info.

Thanks,
Glenn



The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


RE: Stripping Out Characters (Parenthesis)

by Ratner Glenn A :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nobody can tell me why struts removes the parenthesis characters out of
string entered into a text box?

We have a work around but I've got to think somebody knows what I'm
doing wrong here.



-----Original Message-----
From: Ratner Glenn A
Sent: Thursday, July 09, 2009 10:39 AM
To: 'Struts Users Mailing List'
Subject: Stripping Out Characters

I'm new to struts and work on an application with existing struts code.

I have a text field in a .jsp and when doing the post struts seems to be
automatically removing certain special characters from the string in the
text field.

In particular, it's removing these non-alpha characters: "(" and ")"

Is there some configuration at the struts level to declare which
characters to allow or not allow?  I searched but could not find any
info.

Thanks,
Glenn



The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: Stripping Out Characters (Parenthesis)

by Avlesh Singh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sounds weird. Can you post your form code in the jsp?

Cheers
Avlesh

On Sat, Jul 11, 2009 at 12:46 AM, Ratner Glenn A <glenn.ratner@...
> wrote:

> Nobody can tell me why struts removes the parenthesis characters out of
> string entered into a text box?
>
> We have a work around but I've got to think somebody knows what I'm
> doing wrong here.
>
>
>
> -----Original Message-----
> From: Ratner Glenn A
> Sent: Thursday, July 09, 2009 10:39 AM
> To: 'Struts Users Mailing List'
> Subject: Stripping Out Characters
>
> I'm new to struts and work on an application with existing struts code.
>
> I have a text field in a .jsp and when doing the post struts seems to be
> automatically removing certain special characters from the string in the
> text field.
>
> In particular, it's removing these non-alpha characters: "(" and ")"
>
> Is there some configuration at the struts level to declare which
> characters to allow or not allow?  I searched but could not find any
> info.
>
> Thanks,
> Glenn
>
>
>
> The information contained in this e-mail, and any attachment, is
> confidential and is intended solely for the use of the intended recipient.
> Access, copying or re-use of the e-mail or any attachment, or any
> information contained therein, by any other person is not authorized. If you
> are not the intended recipient please return the e-mail to the sender and
> delete it from your computer. Although we attempt to sweep e-mail and
> attachments for viruses, we do not guarantee that either are virus-free and
> accept no liability for any damage sustained as a result of viruses.
>
> Please refer to http://disclaimer.bnymellon.com/eu.htm for certain
> disclosures relating to European legal entities.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>