This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can the application first page be tiles

 
subhit chauhan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

Can the first index page be tiles page ? I am developeing an application named test in tomcat. If i give http://localhost:8080/test my first tile page having tiles definitions for header, footer, left, right menus should come. Any idea how to do that ?

regards,

Subhit
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make an index.jsp that contains only the <logic:forward> tag, forwarding to the Action and/or view you need.
 
subhit chauhan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jason Menard:
Make an index.jsp that contains only the <logic:forward> tag, forwarding to the Action and/or view you need.


Hi Jason !

Thanks for your valuable reply but fowarding to Tiles definitions is not supported from this tag.

regards,
Subhit
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use ForwardAction. The code below shows how to accomplish what you are trying to do.

index.jsp


struts-config.xml

[ February 18, 2005: Message edited by: Jason Menard ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic