Hi Jens

The servlet engine to use is Tomcat 3.1.

Looking at your error message. It looks like you have placed your
struts-html.tld into the META-INF folder. Try placing it into your WEB-INF
folder.

Regards,

Michael Mok
-----Original Message-----
From:   Jens Rehp�hler [mailto:[EMAIL PROTECTED]]
Sent:   Friday, 27 April 2001 9:25
To:     struts-user
Subject:        struts at webappcabaret

Hi all,

I have some questions/problems about using struts at
www.webappcabaret.com:
Which servlet engine should I use: Tomcat 3.1 or NGASI 1.0?
Where do they differ?

When using Tomcat 3.1 I get the followig error message:


--- 8< ---
Error: 500
Location: /xpmailorg/index.jsp

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to open taglibrary
/META-INF/struts-html.tld : Parse Error in the tag library
descriptor: Element "error-page" does not allow
"exception-type" here.
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:672)

at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:116)

--- 8< ---

When using the NGASI engine my app throws the following
exeption:
java.security.AccessControlException: access denied
(java.util.PropertyPermission * read,write)

On my own system (using Tomcat 3.2.1 on W2k) everything
works fine. In my app I try to read some xml configuration
data with the Digester and then connect to a corresponding
mail server (using the javamail api). Mostly I've enhanced
the example app brought with struts. Does anybody know where
there could be the AccessControlException?

Thanks for your help,

Jens


Reply via email to