Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding struts validation

 
santhosh kumar vk
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic