A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Using Tiles Definition As ActionForward
action forward problem : when "Failure"
Tiles newbie, please help
Help: Not picking Struts-Tiles-Definition name...
logic:redirect not working for me
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014