Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts 2 action in Tiles definitions
Joined: Nov 27, 2009
Nov 27, 2009 03:28:52
I'm trying to insert a
action into the tiles definitions. But I can't get it to work.
I'm getting a 404 error with the message that the action is not available.
This is my set up:
<definition name="student.base" extends="base"> <put-attribute name="topmenu" value="/tiles/student/topmenu.jsp" /> <!--<put-attribute name="courselist" value="/tiles/student/courselist.jsp" />--> <put-attribute name="courselist" value="/test.action" /> </definition>
<action name="test"> <result>/NewServlet</result> </action>
If I direct to the
in my tiles.xml directly it works, but that's not what I want.
I can also manualy reach the test.action
Anybody can help me out?
I agree. Here's the link:
subject: Struts 2 action in Tiles definitions
Struts 2 + tiles 2
Struts2 :Tiles request page without action class
Struts tiles help
How do i change only body page in tiles.xml file in struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013