Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes <logic:forward name= doesn't work" title="" /> 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 "<logic:forward name="home" /> doesn Watch "<logic:forward name="home" /> doesn New topic
Author

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

Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
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?


If you think you've done too much, usually it means you've done too few.
Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
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?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: <logic:forward name="home" /> doesn't work
 
Similar Threads
Doubt in JSP Custom tags (Simple Tag) in Dynamic Drop Down
Connection Polling in Oracle 10g Using NetBeans ID
Struts 1.3.5 -- Module 'null' not found. Null Pointer Exception
Module 'null' not found
Struts:Complete reference book error