Does your application actually have multiple modules?  If so, you are
running into the first item listed under "Known Limitations" in the
README.txt file (top level directory of the distribution).  I'm
planning to build a solution based on a Filter that should make this
work -- it will require Servlet 2.3, but that should be OK because JSF
requires 2.3 as well.

Craig



On Thu, 23 Sep 2004 12:12:07 +0530, babloosony <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I am using struts-faces library and when I try to load a jsp which has
> below code then I am getting an exception in browser saying
> "java.lang.IllegalArgumentException: Cannot find module
> configuration". I placed all the relevant jar files in the lib folder
> and other .tld files in WEB-INF folder.
> 
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"; %>
> <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"; %>
> <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces"; %>
> 
> <f:view>
> 
> <f:loadBundle basename="cts.ApplicationResources" var="messages"/>
> 
> <s:html            locale="true">
> <head>
>   <title>
>     <h:outputText   value="#{messages['add.title']}"/>
>   </title>
>   <s:base              id="base"/>
> </head>
> <body bgcolor="white">
> 
> <s:form id="add" action="/add" focus="numberone">
> 
>   <h:outputText value="#{messages['add.header']}"/>
> 
>   <h:panelGrid columns="2" >
> 
>     <%-- Grid header element --%>
>     <f:facet name="header">
>       <h:outputText value="#{messages['add.header']}"/>
>     </f:facet>
>     <%-- Grid header element --%>
> 
>     <%-- Grid data elements --%>
>     <h:outputLabel for="numberone" >
>       <h:outputText value="#{messages['prompt.numberone']}"/>
>     </h:outputLabel>
> 
>     <h:inputText id="numberone" size="16"
> value="#{addBacking.numberone}" required="true" />
> 
>     <%-- Grid data elements --%>
>     <h:outputLabel    for="numbertwo" >
>       <h:outputText value="#{messages['prompt.numbertwo']}"/>
>     </h:outputLabel>
> 
>     <h:inputText id="numberone" size="16"
> value="#{addBacking.numbertwo}" required="true" />
> 
>     <h:commandButton id="submit" type="SUBMIT"
> value="#{messages['button.add']}"/>
>     <h:commandButton id="reset" type="RESET"
> value="#{messages['button.reset']}"/>
> 
>   </h:panelGrid>
> </s:form>
> 
> </body>
> </s:html>
> </f:view>
> 
> Can anyone please let me know what am I missing here ?
> 
> Thanks & Regards,
> Kumar.
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to