• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF + JSTL  RSS feed

 
Yasir Qureshi
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can I use JSTL tags with JSF? I am trying to use it, but JSTL tags are not working, probably the bean in request is not visible to jstl tags.

I am using this to have the bean available in request scope
<%-- jsf:pagecode language="java" location="/JavaSource/com/dest/web/pagecode/LogView.java" --%><%-- /jsf:pagecode --%>

When I use <jsp:usebean> the jstl tags works fine, but I dont want to use it as using jsf:pagecode and jsp:usebean together calls the constructor of backing bean twice which I dont want.

Thanks,
Yasir
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If using JSF 1.1 or below, you are going to run into issues with it and JSTL. JSF 1.2 is supposed to be able to play nice with JSTL.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!