aspose file tools*
The moose likes Struts and the fly likes Cannot find global ActionForward for name    index Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cannot find global ActionForward for name    index" Watch "Cannot find global ActionForward for name    index" New topic
Author

Cannot find global ActionForward for name index

Mark Kafe
Ranch Hand

Joined: Jun 23, 2008
Posts: 60


Any body can help me out in dis problem???

javax.servlet.ServletException: Cannot find global ActionForward for name /index
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:76)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

and my globel actions is

<global-forwards>
<forward name="/index" path="welcome.do"/>
</global-forwards>

<action-mappings>

<action path="/welcome" type="com.seantech.marketree.actions.WelcomeAction">
<forward name="success" path="page.welcome"></forward>
</action>



and jsp pages is where i call this action

<logic:forward name="index"/>
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Well, you're calling it two different things: "/index" and "index". Start there.

Please UseCodeTags.
Mark Kafe
Ranch Hand

Joined: Jun 23, 2008
Posts: 60

Sir if i call it same then it also create this error

here my code is




and the index jsp pages where i call this actions.......is




but same errors are


javax.servlet.ServletException: Cannot find global ActionForward for name index
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:76)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Mark Kafe wrote:


and the index jsp pages where i call this actions.......is



http://www.coderanch.com/t/420300/Struts/Why-Cannot-find-global-ActionForward


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Lovelesh Sharma
Greenhorn

Joined: Jun 12, 2009
Posts: 3
Hi, i am also getting the same problem here n not getting any solution of this. Can sbdy give me any idea to rsolve this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot find global ActionForward for name index
 
Similar Threads
Struts Error Help Needed
Cannot find bean in any scope
War file created by Ant is not working with an exception cannot find global ActionForward for name *
Not able to forward to welcome page
Struts