This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes specifying method name in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "specifying method name in struts2 " Watch "specifying method name in struts2 " New topic

specifying method name in struts2

James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
hi all,

below is my code

now my query is how to call above test method using method name from jsp? any help appreciated.

Shashank Ag
Ranch Hand

Joined: Dec 22, 2009
Posts: 88

Well you can use simply:

Hope it solves.

SCJP 91%, SCWCD 97%
It is sorta covered in the JavaRanch Style Guide.
subject: specifying method name in struts2
Similar Threads
Struts 2 checkboxlist error - list key could not be resolved
need help in wildcard mapping
Struts2 Convention plugin with junit plugin
Struts 2 + Hibernate JUnit test
session attribute is not setting whenjunit testcase invoked