Gemes, Many thanks, I tried for several days to hit upon the right
combinations
to get this to work within my struts/tiles environment and your solution 
worked perfectly!! many thanks!
Brian

-----Original Message-----
From: Gemes Tibor [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 13, 2003 11:14 PM
To: Struts Users Mailing List
Subject: Re: How to integrate servlet with parameters into tiles definition


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]>

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

Reply via email to