File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 684


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
 
wood burning stoves
 
subject: method calling
 
Similar Threads
garbage collection
Changin font in a JTextArea
NX: When should I throw DuplicateKeyException?
Finalization Method
Sharpen your Pencil - Page 323 in HFEJB