When I run tomcat with security (-security) the
console puts out the message logClassName=null
and struts throws an error trying to load my application
(see below).
The struts and commons-* jars are in my WEB-INF\lib
directory and are granted java.security.AllPermission
in catalina.policy.
message Servlet ActionServlet is currently unavailable
description The requested service (Servlet ActionServlet is currently
unavailable) is not currently available
Does anyone have any clues to why this happens?
Most often for me this is because there was a problem
during the
The nightly builds used to have the commons-*.jar files
but the currently availble ones don't seem to have them.
The readme says they are in the lib dir of the distribution
but I can't find them in any of the distributions.
Where can I find the latest ones?
Frank Lawlor
Athens Group, Inc.
(512)
I'm using a struts nightly build (1/2/02) and it uses
the commons-*.jar files. Before upgrading to JDK 1.4
the console would say something like:
logClassName=NoOpLog
Now it says
logClassName=org.apache.commons.logging.impl.Jdk14Logger
and in the localhost_log I get:
I've been pulling down some of the nighly struts builds which require
use of the common-*.jars. I'm running on tomcat 4.0.2.
I just put the commons jars in the WEB-INF\lib directory of
my web app and this seems to work fine until I run with
security. Then I get null pointers trying to access
The Struts Options tag seems to have problems accessing collections
that are in some other object (e.g., your form). The following dotted
notation should work (I thought) (roleList is an ArrayList):
html:select property=requiredrole
html:options collection=MyForm.roleList
in my JSP I have
html:form scope=session action=/AddContacts
but I noted that the generated page was
form name=AddContactsForm method=POST
action=/Autoweb2/LOGIN/AddContacts
The part that is strange is the /LOGIN portion of the action.
Autoweb2 is my application.
I noticed that this would
7 matches
Mail list logo