aspose file tools*
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 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Question on Tiles" Watch "Question on Tiles" New topic
Author

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"/>
</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.


Never be satisfied with anything less than the best and you will surely pass the test...
Ningfeng Xu
Greenhorn

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


SCJP2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on Tiles
 
Similar Threads
Help: Not picking Struts-Tiles-Definition name...
Tiles newbie, please help
action forward problem : when "Failure"
Using Tiles Definition As ActionForward
logic:redirect not working for me