struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: [OT] Re: Calling Struts Validation framework explicitly from WebServices
Date Mon, 13 Aug 2007 20:56:05 GMT
Prashant Baviskar wrote:
> Thanks Dave,
> 
> You are right,
> 
> However I asked it again to get right answer.
> 
> Anyways I tried with commons.apache.org
> 
> I want to use org.apache.struts.validator.

You stated previously that you want to implement validation in an 
application that is not using Struts, so why the insistence on using the 
Struts validation code, rather than Commons Validator? The Struts code 
is just a thin wrapper/adapter around Commons Validator.

> & want to know the class which explicitly calls other classes responsible
> for validation after the form is submitted

You seem to have identified the appropriate package to begin exploring:

http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/validator/

In particular, I would bet that ValidatorPlugIn.java would serve as a 
good starting point.

L.

> 
> 
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com] 
> Sent: Monday, August 13, 2007 5:12 PM
> To: Struts Users Mailing List
> Subject: [OT] Re: Calling Struts Validation framework explicitly from
> WebServices 
> 
> Look at Apache commons-validator... asking the
> question in many different ways will not generate
> significantly different answers.
> 
> http://commons.apache.org/validator/
> 
> d.
> 
> --- Prashant Baviskar <Prashant.Baviskar@patni.com>
> wrote:
> 
>>  
>>
>> Hi,
>>
>> I have a struts application.
>>
>> I am separating business logic from presentation
>> logic & going to expose
>> this business logic as web-service.
>>
>> I want to explicitly call validation framework of
>> struts from web service.
>>
>> Please Help
>>
>>  
>>
>>  
>>
>> --Thanks & Regards
>>
>> Prashant Baviskar
>>
>>  
>>
>>
>> http://www.patni.com
>> World-Wide Partnerships. World-Class Solutions.
>>
> _____________________________________________________________________
>> This e-mail message may contain proprietary,
>> confidential or legally
>> privileged information for the sole use of the
>> person or entity to
>> whom this message was originally addressed. Any
>> review, e-transmission
>> dissemination or other use of or taking of any
>> action in reliance upon
>> this information by persons or entities other than
>> the intended
>> recipient is prohibited. If you have received this
>> e-mail in error
>> kindly delete  this e-mail from your records. If it
>> appears that this
>> mail has been forwarded to you without proper
>> authority, please notify
>> us immediately at netadmin@patni.com and delete this
>> mail. 
>>
> _____________________________________________________________________
> 
> 
> 
>        
> ____________________________________________________________________________
> ________
> Building a website is a piece of cake. Yahoo! Small Business gives you all
> the tools to get online.
> http://smallbusiness.yahoo.com/webhosting 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
> 
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail. 
> _____________________________________________________________________
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


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


Mime
View raw message