Thanks David, I did, but it still doesn't work. When I start my tomcat
server I get the following error:
SEVERE: Parsing error processing resource path
java.lang.NullPointerException
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
41)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
4)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Any more idea?
-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 1:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Re: Specifying comma-delimted Struts Config Files
Try removing the space after the comma.
David
>
>I've never been able to get the comma config file feature to work, but you
>did? If you can tell me how you did it, I would appreciate it. Here is my
>sniplet from my web.xml file:
>
> <init-param>
> <param-name>config</param-name>
> <param-value>
> /WEB-INF/struts-config.xml, /WEB-INF/struts-config-reports.xml
> </param-value>
> </init-param>
>
>Thanks.
>
>-----Original Message-----
>From: Chuck Cavaness [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 12, 2003 1:41 PM
>To: Struts Users Mailing List
>Subject: Re: Re: Specifying comma-delimted Struts Config Files
>
>
>As embarassing as it is to admit, the error was a pure operator type error.
>There was an <action-mappings> element missing in the second config file. I
>was actually taking one config file apart and splitting it into two to
>demonstrate this feature. Why the error complained about a missing
></struts-config>, I'm not sure.
>
>Anyway, the feature works as expected. Sorry for the distraction. Back to
>your regularly scheduled program...
>
>chuck
>
>
> >
> > From: Rick Reumann <[EMAIL PROTECTED]>
> > Date: 2003/03/12 Wed PM 04:15:53 EST
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Subject: Re: Specifying comma-delimted Struts Config Files
> >
> > On Wed, 12 Mar 2003 16:00:46 -0500
> > Chuck Cavaness <[EMAIL PROTECTED]> wrote:
> >
> > > Is anyone using the feature of the framework where you can specify
> > > multiple configuration files in the web.xml:
> >
> > Sorry I can't help Chuck, since I'm not using multiple config.xml's.
> > I'd like to start using them though, so when you figure what the problem
> > is could you please post the solution (since I'm sure I'll run across it
> > as well).
> >
> >
> > Thanks,
> >
> > --
> > Rick Reumann
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]