A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Question on Tiles
Joined: Jan 15, 2002
Apr 21, 2006 12:24:00
I have an index.jsp that does invokes a global forward using:
<logic:forward name="login"> to a login.jsp screen.
In my struts-config.xml, I have the global forward defintions as:
<forward name="login" path="app.login"/>
And my tiles-def.xml is contains the app.login.
When I reach my index.jsp, the forwarding fails to find the app.login tile def. My tile defintion is currect as if I forward to it from an action class it works correct.
Thanks in advance.
Never be satisfied with anything less than the best and you will surely pass the test...
Joined: Jan 22, 2002
Apr 21, 2006 21:36:00
Perhaps the reason is, tiles definition could not be used(forwarded) automatically. An action has to be used to do this job. I could be wrong...
I agree. Here's the link:
subject: Question on Tiles
Help: Not picking Struts-Tiles-Definition name...
Using Tiles Definition As ActionForward
Tiles newbie, please help
action forward problem : when "Failure"
logic:redirect not working for me
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015