Hi Craig,

    Can't comment on the original problem but "resolveEntity" problem comes with
server not able to fetch the dtds from an external site (your server behind the
fire wall etc.,).  Copy, the following dtds to your webApp (or jsp root dir), you
should find them  in the struts distribution.

struts-config_1_0.dtd
web-app_2_2.dtd    or
web-app_2_3.dtd  or both.

  And in the struts-config.xml where it says

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

replace  the following line filling the "port" and "webApplicationName"( name of
the app deployed, ex: strutsexample) variables.

<!DOCTYPE struts-config PUBLIC
       "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
          "http://localhost:<port>/<webApplicationName>/struts-config_1_0.dtd">

   The dtd will be fetched from the local host instead of an external site.

Similarly add the local URL with the correct dtd to your web.xml file also.

- Hope this helps.

- Niranjan


Craig Tataryn wrote:

> Got this out of the ServletExec log, could this be the culprit?
>
> [Thu Jan 31 14:29:45 EST 2002] resolveEntity('-//Apache Software
> Foundation//DTD Struts Configuration 1.0//EN', 'http://jaka
> rta.apache.org/struts/dtds/struts-config_1_0.dtd')
>
> [Thu Jan 31 14:29:45 EST 2002]  Not registered, use system identifier
>
> Thanks,
>
> Craig.
>
> >From: "Craig Tataryn" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: Struts and Servlet Exec
> >Date: Thu, 31 Jan 2002 13:48:39 -0600
> >
> >Tried deploying struts-example to ServletExec.  Main page comes up fine,
> >but
> >when I click on links to do the tour, register, check mail I never get a
> >response (it just sits their chugging away).  The class path for the
> >ServletExec didn't have Xerces on it, so I added that to my WEB-INF/lib
> >directory.
> >
> >Any suggestions?
> >
> >Thanks,
> >
> >Craig.
> >
> >
> >>From: "Craig Tataryn" <[EMAIL PROTECTED]>
> >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >>To: [EMAIL PROTECTED]
> >>Subject: Struts and Servlet Exec
> >>Date: Thu, 31 Jan 2002 11:07:11 -0600
> >>
> >>Hi there.  Anyone using Struts with ServletExec?  I guess the question
> >>would
> >>be, does it work just like Tomcat?  Deploy struts-blank to webapps and
> >>start
> >>hacking (I would probably have to go into servletexec admin and register
> >>the
> >>struts app, but other than that, anything else)?
> >>
> >>Thanks,
> >>
> >><tataryn:craig/>
> >>
> >>Craig W. Tataryn
> >>Programmer/Analyst
> >>Compuware
> >>
> >>_________________________________________________________________
> >>MSN Photos is the easiest way to share and print your photos:
> >>http://photos.msn.com/support/worldwide.aspx
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >><mailto:[EMAIL PROTECTED]>
> >>For additional commands, e-mail:
> >><mailto:[EMAIL PROTECTED]>
> >>
> >
> >
> >Craig W. Tataryn
> >Programmer/Analyst
> >Compuware
> >
> >_________________________________________________________________
> >MSN Photos is the easiest way to share and print your photos:
> >http://photos.msn.com/support/worldwide.aspx
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
>
> Craig W. Tataryn
> Programmer/Analyst
> Compuware
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--



                         **********************
                         Niranjan Kumar Vuppu
                         Ph No: 901 263 4386(w)
                         **********************



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

Reply via email to