struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ercan Kayaonu" <ekaya...@gmail.com>
Subject Convention plugin mapAllMatches
Date Mon, 05 Jan 2009 13:17:55 GMT
Hi guys,
I'm using convention plugin. There's no rest and codebehind plugins in lib
folder.
I want to call all the methods in my class from the url. As far as i
understand from the documentation i need to set
struts.convention.action.mapAllMatches to true in struts.xml. But it didn't
work. I can't add method names to the url and config-browser doesn't show
them in actions list. I can only see the methods if i use @Action
annotation. However, in this case there's nothing under
Results
<http://localhost:8080/convention/config-browser/showConfig?namespace=&actionName=hello-world&detailView=results>Exception
Mappings<http://localhost:8080/convention/config-browser/showConfig?namespace=&actionName=hello-world&detailView=exceptions>
Interceptors<http://localhost:8080/convention/config-browser/showConfig?namespace=&actionName=hello-world&detailView=interceptors>
Properties<http://localhost:8080/convention/config-browser/showConfig?namespace=&actionName=hello-world&detailView=properties>
Validators<http://localhost:8080/convention/config-browser/showConfig?namespace=&actionName=hello-world&detailView=validators>
tabs. Do i have to use @Result for all my actions, and why mapAllMatches
didn't work.  Thank you in advance.
Regards.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message