Hello

 

Is it possible while using the <s:if tag to call a method in your action
while passing in a parameter?

 

In the action

 

public boolean getSomeMethod(String someParam){

 

         .... Do some work based on someParam

         return answer;       

}

 

In the jsp 

 

<s:if test="getSomeMethod('some string')">

   some html

</s:if>

 

 

Thanks

Reply via email to