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 Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<logic:forward name="home" /> doesn't work

 
Vadim Vararu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got this lines in my index.jsp:


i've got this in struts-config.xml:


and, normally, i've got home.jsp in the root of application. When i run my struts app i get this error:


Can i actually use global-forwards in my jsp-s for forwarding? Or are they only for use from Action-s?
 
Vadim Vararu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it work with these line insead, in jsp:


I can't exactly understand why it works, but it does. I know that jsp: forward is for forwarding to other jsp-s... and i can't get the issue here.
And... how can it be done via struts tags, instead of standard jsp actions?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic