Joe,
I told a lie...I actually took the code from the SVN
repository, and just added some logging. The logging
is showing up and indicates that the path or resource
Strings are not being set. I am also using the
validator plugin. I am using Struts-1.2.4. Thanks
for your help, but I do not hav
At 12:43 PM -0800 12/20/04, Julian wrote:
ok here is some more info. In my subclass of
CatalogConfiguratorPlugIn, I logged any calls to
setPath or setResource. So when the server starts the
values are never set b/c the methods are never called.
When I harcode the value, I get an error message th
ok here is some more info. In my subclass of
CatalogConfiguratorPlugIn, I logged any calls to
setPath or setResource. So when the server starts the
values are never set b/c the methods are never called.
When I harcode the value, I get an error message that
the catalog "struts" cannot be found.
Hi again :)
well, i wrapped the class and had it print out the
variables for the path, resource, and configResource
to the logswell no surprise they were all null. I
used your config below and placed the chain-config.xml
in the WEB-INF dirroot cause:
java.lang.NullPointerException. So pe
Here's one which works in my application:
If the "path" property is set, then the file is
sought in the servlet context. It sounds as
though you've tried this, but thought I'd give
you an example anyway.
if the "resource" property is set, then the file
is sought on the classpath,
btw, I have also tried the config with the "property"
attribute of the "set-property" tag set as "path"
instead of resource.
wrote:
> Hi,
>
> I cannot seem to load the struts-chain config
> properly. I have tried packaging it in the root
> directory of my jar, placing it in /WEB-INF/classes,
>
Hi,
I cannot seem to load the struts-chain config
properly. I have tried packaging it in the root
directory of my jar, placing it in /WEB-INF/classes,
and just in plain old WEB-INF...but to no avail. I
keep getting an servletexception thrown at
org.apache.struts.chain.legacy.CatalogConfiguratorP
7 matches
Mail list logo