You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kannan Ramanathan <ka...@yahoo.com> on 2002/12/12 20:59:05 UTC

Struts in iPlanet 4.1

All,

Does Struts really work with iPlanet 4.1? We are
facing lot of problems since iPlanet 4.1 does not
support WAR file deployment. I am trying to put sample
logon.war from the "Struts In Action" book
(http://www.manning.com/getpage.html?project=husted&filename=source.html)
but could not make it work. I am seeing only the
Welcome.jsp. When I click the Sign on, I am getting
this error now:

************************************

[12/Dec/2002:13:18:18] warning (  193):
RequestDispatcher: forward call failed 
[12/Dec/2002:13:18:18] failure (  193): Internal
error: exception thrown from the servlet service
function (uri=/Logon.do):
javax.servlet.ServletException: RequestDispatcher:
forward call failed, stack:
javax.servlet.ServletException: RequestDispatcher:
forward call failed 
    at
com.netscape.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatcher.java:80)

    at
org.apache.struts.actions.ForwardAction.perform(ForwardAction.java:168)

    at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)

    at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)

    at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)

    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:701)

    at
javax.servlet.http.HttpServlet.service(HttpServlet.java:826)

    at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:513)

, root cause:  

*****************************************

Following is my struts-config.xml:

**********************************

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE struts-config PUBLIC
  "-//Apache Software Foundation//DTD Struts
Configuration 1.0//EN"
 
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">

<struts-config>
  <!-- ======================================== Form
Bean Definitions -->
  <form-beans>
    <form-bean
        name="logonForm"
        type="app.LogonForm"/>
  </form-beans>
  <!-- =================================== Global
Forward Definitions -->
  <global-forwards>
    <forward
        name="logoff"
        path="/Logoff.do"/>
    <forward
        name="logon"
        path="/Logon.do"/>
    <forward
        name="welcome"
        path="/Welcome.do"/>
  </global-forwards>
  <!-- =================================== Action
Mapping Definitions -->
  <action-mappings>
    <action
        path="/Welcome"
        type="org.apache.struts.actions.ForwardAction"
        parameter="/logon/Welcome.jsp"/>
    <action
        path="/Logon"
        type="org.apache.struts.actions.ForwardAction"
        parameter="/logon/Logon.jsp"/>
    <action
        path="/LogonSubmit"
        type="app.LogonAction"
        name="logonForm"
        scope="request"
        validate="true"
        input="/logon/Logon.jsp">
      <forward
          name="success"
          path="/logon/Welcome.jsp"/>
    </action>
    <action
        path="/Logoff"
        type="app.LogoffAction">
      <forward
          name="success"
          path="/logon/Welcome.jsp"/>
    </action>
  </action-mappings>
</struts-config>

***************************************


Can someone help me in this, since I am stuck in this
for the past two days? Following is my directory
structure:

root-directory
----logon
----------Welcome.jsp
----------index.jsp
----------Logon.jsp
----------app
-------------------all logon class files

and the following line I added in rules.properties:
@.*[.]do$=action

Thanks in advance, Kannan.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>