I am trying this simple struts application here, that uses following:
<global-forwards>
<forward name="welcome" path="/Welcome.do"/>
</global-forwards>
and under <action-mappings> :
<action path="/Welcome" forward="/pages/Welcome.jsp"/>
However, I am getting following exceptions.....I could not find
anything regarding this message in the archive.
Any help would be appreciated. I am wondering if this is being caused
by tag libs...
---------------------------------------------------------------------------------------------------
javax.servlet.ServletException: Cannot create redirect URL:
java.net.MalformedURLException: Cannot retrieve ActionForward named
welcome
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.index_jsp._jspService(index_jsp.java:70)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.servlet.jsp.JspException: Cannot create redirect URL:
java.net.MalformedURLException: Cannot retrieve ActionForward named
welcome
org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:298)
org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0(index_jsp.java:87)
org.apache.jsp.index_jsp._jspService(index_jsp.java:59)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
---------------------------------------------------------------------------------------------------
Thanx,
Sudip
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]