2003. janu�r 13. 21:48 d�tummal "bdealy1 ezt �rtad:
> Hi, I have been having a problem integrating a servlet into
> a tiles definition. It takes a config file as parameter "config" and
> I have tried to directly call the servlet by putting it in the
> tiles-def.xml file like this:
>
> <definition name=".gradebook.Assignments" extends=".gradebook.Base">
>    <put name="zcontent"
> value="http://localhost:8080/gradebooktest/servlet/Forum"/>

I create a new page (callForum.jsp) which contains only the following:

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<bean:include id="text" href="/gradebooktest/servlet/Forum" />
<bean:write name="text" filter="false"/>

And put into tiles definition a call for this jsp:
   <put name="zcontent"
         value="/callForum.jsp"/>

Hth,

Tib


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

Reply via email to