This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

method calling

sandeep chalishazarwala

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
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: method calling
jQuery in Action, 3rd edition