coding_idiot
coding_idiot

Reputation: 13734

struts1 ognl static method call

I've been trying googling from past some time, but seems like I'm unable to hit the right phrase.

I wanted to know is static method calling supported in struts1. If yes, then how to configure it ? Make some changes in struts-config.xml ?

Regards

Upvotes: 0

Views: 928

Answers (2)

Dave Newton
Dave Newton

Reputation: 160251

There's no OGNL in Struts 1.

You can use standard JSP custom tag functionality which includes calling functions.

Upvotes: 1

user2173738
user2173738

Reputation:

You can't configure Action or ForwardAction to use the method other that execute. To execute other methods you need a DispatchAction that only call method dynamically.

Upvotes: 0

Related Questions