Is there any typo in your struts-config.xml ? Or in the web.xml when define
struts-config.xml?



-----Original Message-----
From: Karin Ramsay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts Installation Question


Hi,

    The tld is defined in the web.xml file.  Also, the TLD files are in the
web-inf directory.  The only other thing that is irregular is that when I
start Tomcat, I have a the following messages in the console:

2001-06-28 03:10:59 - Ctx( /lrp ): Reading
C:\jakarta-tomcat-3.2.1\webapps\lrp\WEB-INF\web.xml
2001-06-28 03:10:59 - Ctx( /lrp ): Loading -2147483646 jsp
2001-06-28 03:10:59 - Ctx( /lrp ): Loading 2 action
2001-06-28 03:10:59 - Ctx( /lrp ): Unsafe path
C:\jakarta-tomcat-3.2.1\webapps\lrp /WEB-INF/struts-config.xml
cannot load servlet name: action

Do you know what "unsafe path" means and could this be part of the
problem??


Thanks,

Karin

  <!-- Struts Tag Library Descriptor -->
  <taglib>
    <taglib-uri>/WEB-INF/struts.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-form.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-form.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  </taglib>






Liang Li wrote:

> Wait a second, have you defined the tld in your web.xml?
>
> -----Original Message-----
> From: Karin Ramsay [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 11:00 AM
> To: Struts Group
> Subject: Struts Installation Question
>
> Hi,
>
>     I have installed struts and written a login form.  When I test the
> form, I receive the following error:
>
> org.apache.jasper.compiler.CompileException:
> C:\jakarta-tomcat-3.2.1\webapps\LRP\index.jsp(7,0) Unable to open
> taglibrary /WEB-INF/struts-html.tld : Could not locate TLD
> META-INF/taglib.tld
>
>     I know that the TLD META-INF/taglib.tld is in the struts.jar file,
> which I have placed in the web-inf/lib directory of my web app.  Have I
> missed something while configuring Struts (or my web app, for that
> matter).
>
>     I would appreciate any suggestions.  If there is an archive, feel
> free to refer me to it as I am sure that there are many
> installation/configuration questions.
>
> Many thanks,
>
> Karin

Reply via email to