RE: Struts Installation Question

2001-06-28 Thread Liang Li

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

  
  
/WEB-INF/struts.tld
/WEB-INF/struts.tld
  

  
/WEB-INF/struts-bean.tld
/WEB-INF/struts-bean.tld
  

  
/WEB-INF/struts-form.tld
/WEB-INF/struts-form.tld
  

  
/WEB-INF/struts-logic.tld
/WEB-INF/struts-logic.tld
  

  
/WEB-INF/struts-template.tld
/WEB-INF/struts-template.tld
  

  
/WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld
  






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



Re: Struts Installation Question

2001-06-28 Thread Karin Ramsay

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

  
  
/WEB-INF/struts.tld
/WEB-INF/struts.tld
  

  
/WEB-INF/struts-bean.tld
/WEB-INF/struts-bean.tld
  

  
/WEB-INF/struts-form.tld
/WEB-INF/struts-form.tld
  

  
/WEB-INF/struts-logic.tld
/WEB-INF/struts-logic.tld
  

  
/WEB-INF/struts-template.tld
/WEB-INF/struts-template.tld
  

  
/WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld
  






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




RE: Struts Installation Question

2001-06-28 Thread Liang Li

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



RE: Struts Installation Question

2001-06-28 Thread Liang Li

put *.tld files under webapps/LRP/WEB-INF/, see the struts-example.

-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