aspose file tools*
The moose likes Struts and the fly likes Regarding struts validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding struts validation" Watch "Regarding struts validation" New topic
Author

Regarding struts validation

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 144
hi,


How to validate current date using struts 1.1 and how to check uploaded file is exit or not using validation.xml please help me
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

santhosh kumar vk wrote:How to validate current date using struts 1.1

There are standard built in validator available in Struts. Look here fro "date" validations. http://struts.apache.org/1.2.4/userGuide/dev_validator.html
santhosh kumar vk wrote:and how to check uploaded file is exit or not using validation.xml please help me

Use Javascript. file upload validations + javascript

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
 
subject: Regarding struts validation