Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts-test.war - regarding

 
PNS Subramanian
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic