GeeCON Prague 2014*
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
Author

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: java.net.MalformedURLException: Cannot retrieve ActionForward named welcome
at org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL(RedirectTag.java:311)
at org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:270)
at jsp_servlet.__index._jspService(__index.java:145)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

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: http://aspose.com/file-tools
 
subject: struts-test.war - regarding