File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts-test.war - regarding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-test.war - regarding" Watch "struts-test.war - regarding" New topic

struts-test.war - regarding

PNS Subramanian
Ranch Hand

Joined: Jul 13, 2004
Posts: 150
I tried deploying struts-test.war file in tomcat(jakarta-tomcat-4.1.30) and Weblogic(8.1). In both the servers i get an error such as "Cannot retrieve ActionForward named welcome". Here is the detailed error.

javax.servlet.jsp.JspException: Cannot create redirect URL: Cannot retrieve ActionForward named welcome
at org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL(
at org.apache.struts.taglib.logic.RedirectTag.doEndTag(
at jsp_servlet.__index._jspService(
at weblogic.servlet.jsp.JspBase.service(
at weblogic.servlet.internal.ServletStubImpl$
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.WebAppServletContext$
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
at weblogic.servlet.internal.ServletRequestImpl.execute(
at weblogic.kernel.ExecuteThread.execute(

However, i am able to access the forms with in the war file i.e localhost:<portNo>/struts-test/forms/register1.jsp etc.

Would appreciate if anyone could explain such a behaviour.
I agree. Here's the link:
subject: struts-test.war - regarding
It's not a secret anymore!