RE: How to integrate servlet with parameters into tiles definition

2003-01-14 Thread Dealy, Brian
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]




How to integrate servlet with parameters into tiles definition

2003-01-13 Thread bdealy1 [EMAIL PROTECTED]
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/

All I get is a blank content area even though when I call the servlet 
directly with that URL , it works ok. Next I tried to make a jsp that 
extends this servlet. almost the same thing. It can display through 
the browser direct, but says cannot read config file when I put it in 
the tiles 
definition as a JSP.  is there some issue with struts/tiles as far as 
passing paramters down to the parts of a tiles-def?  any work arounds 
or hints greatly appreciated. thanks Brian



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




Re: How to integrate servlet with parameters into tiles definition

2003-01-13 Thread Gemes Tibor
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]