struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoying, Ken" <Ken_Hoy...@PremierInc.com>
Subject [S2] Validator Framework
Date Thu, 19 Jun 2008 12:40:09 GMT

I would like to use the Struts2 validation classes "outside" of Struts2.
What I would like to do specifically is use the UrlValidator to test a
string to determine if it is a URL and if it is create the link and if
not just display the value.  I would like to use the validator for this
since we use it other places to validate url input and in this way the
algorithim used to test URL validity would be consistent.  So I was
hoping to maybe create a simple taglib using the url validator to do the
trick.

Thanks in Advance!
Ken


-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer.  Thank you.  Premier Inc.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message