Did you already try to put regex inside a cdata section?

<param name="expression"><![CDATA[^<>]+]></param>

Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara

Maurizio Cucchiara


On 19 March 2013 08:31, Muralidhar Yaragalla <java.yaraga...@gmail.com> wrote:
>
> Hi I am defining a reg which is valid in java. The regex is "[^<>]+". But
> when i use this with regex validator it displays error. The error is "It
> should consist well formed character data or markup". what i am trying to
> do is the special characters "<" and ">" should not be allowed in the
> field, that is the reason i am using that regex.
>
> What is the problem?
>
> --
> Thanks And Regards,
> *Muralidhar Yaragalla.
> *

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to