Aladin Alaily wrote:
Hi Rick,

Your configuration looks okay to me (for a 1.2.7 struts app - I don't know about 1.2.9 because I haven't made the jump yet).

What kind of errors did you get when you put:

<!DOCTYPE tiles-definitions PUBLIC
    "-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN"
    "http://struts.apache.org/dtds/tiles-config_1_3.dtd";>

in your tiles-definitions.xml?

The errors may be indicative of what's going wrong with your app... because the above should not break anything.

When I switch to that dtd definition I end up with the error:

ERROR [main] org.apache.struts.tiles.TilesPlugin initDefinitionsFactory- Can't create Tiles definition factory for module ''. ERROR [main] org.apache.struts.action.ActionServlet init- Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing
library dependency.
javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles-definitions.xml'. Connection refused: connec
t
at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:233)
        at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at
        <snip>


I'll keep working on it, but any ideas what could be wrong?

--
Rick

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

Reply via email to