aspose file tools
The moose likes Struts and the fly likes Question on Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Question on Tiles
 
Similar Threads
Tiles newbie, please help
Help: Not picking Struts-Tiles-Definition name...
Using Tiles Definition As ActionForward
action forward problem : when "Failure"
logic:redirect not working for me