• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on Tiles

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
<global-forwards >
<forward name="login" path="app.login"/>
</global-forwards>

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.
 
Ningfeng Xu
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic