File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Question on Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Question on Tiles" Watch "Question on Tiles" New topic

Question on Tiles

Kalichar Rangantittu
Ranch Hand

Joined: Jan 15, 2002
Posts: 240
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"/>

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...
Ningfeng Xu

Joined: Jan 22, 2002
Posts: 18
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
It's not a secret anymore!