wood burning stoves 2.0*
The moose likes Struts and the fly likes Error with ForwardAction. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error with ForwardAction." Watch "Error with ForwardAction." New topic

Error with ForwardAction.

mihir maniar
Ranch Hand

Joined: Sep 09, 2003
Posts: 88
i get this error message
"javax.servlet.jsp.JspException: Cannot find global ActionForward for name /index"

this is my struts-config file code in the action-mapping tag

<action path="/index"

this is the jsp page from where i call the /action tag

<logic:forward name="/index"/>Go To Index Page.

Please suggest me what could be wrong here.Thank you.
Vasudhaiv Naresh
Ranch Hand

Joined: May 13, 2005
Posts: 57
Hi Mihir,
just try this :

instead of :

If this also doesn't help, have a try of the following :

Hope this helps.
Vasudhaiv Naresh
Ranch Hand

Joined: May 13, 2005
Posts: 57
the last piece of code is

roy joseph

Joined: Dec 26, 2003
Posts: 25
instead of this

<action path="/index"

do this

<forward name="index" path="/jsp/index.jsp"></forward>

be annoying .. Aku Soku Zan
It is sorta covered in the JavaRanch Style Guide.
subject: Error with ForwardAction.
Similar Threads
Struts layout tld + Jboss 6.1.0
Having problem with error-page
setting Handler Parmeter using c:url
Missing input attribute in action tag
declarative validation of wizard pages