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

method calling

sandeep chalishazarwala
Greenhorn

Joined: Dec 28, 2008
Posts: 25
Hello everyone,
Can we call a method inside validate method in validator form of struts .12
If yes, then please guide me properly

Thanking You
Sandeep
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689


Hi,


Yes of course you can call method from validate method...

But the make sure that method can not return any thing.




Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Bilal A. Siddiqui
Ranch Hand

Joined: Sep 14, 2008
Posts: 53

Hi Sandeep

yes you can call methods from validate method, but what kind of method you want to call from validate method, i mean what is the purpose of it ??


Cheers!!! Bilal
Handsome Android||@bilal_speed||LinkedIn
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: method calling