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(JspParseEventListener.java:672)
at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.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