On Mon, 4 Mar 2002, Oleg V Alexeev wrote:

> Date: Mon, 4 Mar 2002 20:09:48 +0300
> From: Oleg V Alexeev <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>,
>      Oleg V Alexeev <[EMAIL PROTECTED]>
> To: Struts Developers List <[EMAIL PROTECTED]>
> Subject: Strange behavior at  plugin's config loading
>
> Hello Struts,
>
>   Now I try to use plugins in Struts - write my plugin, add a lot of
>   strings to the struts-config.xml -
>

Like the DTD for web.xml, the DTD for struts-config.xml is sensitive to
the order of the supplied elements:

<!ELEMENT struts-config (data-sources?, form-beans?, global-exceptions?,
  global-forwards?, action-mappings?, controller?, message-resources*,
  plug-in*)>

Move your plug-ins to the end and it should be fine.

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to