i don't think my path names are windows specific...

here's web.xml -
<web-app>
  <display-name>Struts Prototype Application</display-name>

  <!-- Standard Action Servlet Configuration (with debugging) -->
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>detail</param-name>
      <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
  </servlet>

and struts-config...
<global-forwards>

        <!-- Default forward to "Welcome" action -->

        <!-- Demonstrates using index.jsp to forward -->

        <forward

            name="welcome"

            path="/Welcome.do"/>

        <forward

            name="editProductType"

            path="/EditProductType.do"/>




    </global-forwards>





<!-- =================================== Action Mapping Definitions -->



    <action-mappings>



            <!-- Default "Welcome" action -->

            <!-- Forwards to Welcome.jsp -->

        <action

            path="/Welcome"

            type="org.apache.struts.actions.ForwardAction"

            parameter="/Welcome.jsp"/>

         <action

            path="/editProductType"

            type="org.apache.struts.actions.ForwardAction"

            parameter="/ProductType.jsp"/>


do you think of anything else....

-----Original Message-----
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 12:41 PM
To: Struts Users Mailing List
Subject: RE: null pointer
--org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)




> -----Original Message-----
> From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 9:36 AM
> To: Struts Users Mailing List
> Subject: RE: null pointer
> --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
>
>
> where to check path names, is it in struts config...

There.. web.xml.. all your config files.. I would guess it's in the web.xml
where you specify where the strutsconfig.xml file is.

>
> -----Original Message-----
> From: Jim Barrows [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 12:33 PM
> To: Struts Users Mailing List
> Subject: RE: null pointer
> --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
>
>
>
> > -----Original Message-----
> > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 06, 2004 9:23 AM
> > To: Struts Users Mailing List
> > Subject: FW: null pointer
> >
> --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
> >
> >
> >
> > ----- Root Cause -----
> > java.lang.NullPointerException
> >         at
> > org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
> >         at
>
> I've seen this when the Digester can't find the xml file it's
> trying to
> read.. I would check path names and make sure they are not
> windows specific.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to