Using MyFaces on
Tomcat 5.5 I tried a very basic example where I have one
JSP (itest.jsp) page that only contains a single line:
The referenced
jsf file only contains a <f:view> en some <h
utputText> elements. What happens is a bizare kind of recursion. A couple of hundred lines appear in my log. It start with 10's of:
Then the following
pattern which is also repeated hundreds of lines:
For some reason the JSF
servlet causes a call to my jsp page again after the include tag has been processed. I'm not really sure why this happens. Is there a 'rule' somewhere that sais I'm not allowed to do this? I'm aware of the fact that JSTL and JSF are a bad mix, but I've never read anything about jsp:include in this situation.
For using jsp:include inside a jsf page, the subview tag needs to be used. Although this is not exactly the same situation, I nevertheless tried that. But this also did not help and again the weird kind of recursion happened.
[ February 03, 2006: Message edited by: Saskia de Jong ]